1
import language.experimental.macros
6
def foo = macro fooImpl
7
def fooImpl(c: reflect.macros.Context) = c.literalUnit
9
def main(args: Array[String]) {
11
val method = classOf[Test].getMethod("foo")
12
sys.error("Static forwarder generated for macro: " + method)
14
case _: NoSuchMethodException => // okay