summaryrefslogtreecommitdiff
path: root/test/pending/run/t5695/part_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/run/t5695/part_1.scala')
-rw-r--r--test/pending/run/t5695/part_1.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/pending/run/t5695/part_1.scala b/test/pending/run/t5695/part_1.scala
new file mode 100644
index 0000000000..b8e8f8e52f
--- /dev/null
+++ b/test/pending/run/t5695/part_1.scala
@@ -0,0 +1,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 }
+ }
+
+}