aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/reify_newimpl_22.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/disabled/macro/run/reify_newimpl_22.check')
-rw-r--r--tests/disabled/macro/run/reify_newimpl_22.check25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/disabled/macro/run/reify_newimpl_22.check b/tests/disabled/macro/run/reify_newimpl_22.check
new file mode 100644
index 000000000..952f384a1
--- /dev/null
+++ b/tests/disabled/macro/run/reify_newimpl_22.check
@@ -0,0 +1,25 @@
+Type in expressions to have them evaluated.
+Type :help for more information.
+
+scala> import scala.reflect.runtime.universe._
+import scala.reflect.runtime.universe._
+
+scala> import scala.tools.reflect.ToolBox
+import scala.tools.reflect.ToolBox
+
+scala> import scala.tools.reflect.Eval
+import scala.tools.reflect.Eval
+
+scala> {
+ val x = 2
+ val code = reify {
+ x
+ }
+ println(code.eval)
+}
+<console>:15: free term: Ident(TermName("x")) defined by res0 in <console>:14:21
+ val code = reify {
+ ^
+2
+
+scala> :quit