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

object Impls {
  def foo(c: Context)(x: c.Expr[Int]) = {
    import c.universe._
    val body = Apply(Select(Ident(definitions.PredefModule), TermName("println")), List(x.tree))
    c.Expr[Unit](body)
  }
}