import scala.language.experimental.macros
import scala.reflect.macros.blackbox.Context

object Macros extends Impls {
 def foo(x: Any): Any = macro impl
}

object Test extends App {
 import Macros._
 println(foo(42))
}

