summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-bundle-abstract.scala
blob: 2b302045da45c513a1610d4f2d27caca6386a058 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import scala.language.experimental.macros
import scala.reflect.macros.Macro
import scala.reflect.macros.Context

trait Bundle extends Macro {
  def deferred: Int
  def impl = ???
}

object Macros {
  def foo = macro Bundle.impl
}