summaryrefslogtreecommitdiff
path: root/test/pending/run/macro-quasiinvalidbody-b/Macros_Test_2.scala
blob: da9445ac52904119e6138bde4a8a9381a1ecc548 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import scala.reflect.macros.{Context => Ctx}

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

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