aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/neg/macro-override-macro-overrides-abstract-method-b/Test_2.scala
blob: 79deae63b725dc686436424b4cc4c7a6a8dbc62b (plain) (tree)
1
2
3
4
5
6





                                                                  
object Test extends App {
  val c1 = new A with C {}
  val c2 = new C with A {}
  val c3 = new C with A { override def t(): Unit = macro Macro.t }
  val c4 = new C with A { override def t(): Unit = () }
}