summaryrefslogtreecommitdiff
path: root/test/files/pos/annotated-original/M_1.scala
blob: 84a01bcce59ab2b57c364dae2802bc6b9498cb92 (plain) (blame)
1
2
3
4
5
6
7
import language.experimental.macros
import scala.reflect.macros.blackbox.Context

object M {
  def impl(c: Context)(a: c.Expr[Any]) = c.Expr[Any](c.untypecheck(a.tree))
  def m(a: Any) = macro impl
}