summaryrefslogtreecommitdiff
path: root/test/pending/run/t5695/part_1.scala
blob: b8e8f8e52fe56cb5b9c81277cd66a01b08ca0c67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import language.experimental.macros
import scala.reflect.makro.Context

object Defs {

  def mkInt = macro mkIntImpl
  def mkIntImpl(c: Context): c.Expr[Any] = {
    println(c.enclosingApplication)
    c.reify{ 23 }
  }

}