summaryrefslogtreecommitdiff
path: root/test/pending/run/t5692/Impls_Macros_1.scala
blob: 94bcffbcaf7909fa778bea596e145e76c25b4c60 (plain) (blame)
1
2
3
4
5
6
7
8
9
import scala.reflect.macros.Context

object Impls {
  def impl[A](c: reflect.macros.Context) = c.universe.reify(())
}

object Macros {
  def decl[A] = macro Impls.impl[A]
}