blob: ad57a3cb36dba3e942b0c13f9cb1eb95a6134b22 (
plain) (
tree)
|
|
import scala.language.experimental.macros
import scala.reflect.macros.BlackboxContext
object Macros {
def impl(c: BlackboxContext) = c.universe.Literal(c.universe.Constant(()))
def foo: Unit = macro impl
}
|