aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/macro-expand-implicit-macro-is-val/Impls_1.scala
blob: fd267d32c44baf082a0f6d9ea201f9ea64bb4e26 (plain) (blame)
1
2
3
4
5
6
7
8
9
import scala.reflect.macros.blackbox.Context

object Impls {
  def foo(c: Context) = {
    import c.universe._
    val body = Literal(Constant(2))
    c.Expr[Int](body)
  }
}