summaryrefslogblamecommitdiff
path: root/test/files/neg/macro-override-macro-overrides-abstract-method-b/Test_2.scala
blob: 9b4c8e35f02aaf7e8644bed628906409c4791617 (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 = () }
}