diff options
Diffstat (limited to 'tests/disabled/macro/run/reify_newimpl_36.scala')
-rw-r--r-- | tests/disabled/macro/run/reify_newimpl_36.scala | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/disabled/macro/run/reify_newimpl_36.scala b/tests/disabled/macro/run/reify_newimpl_36.scala new file mode 100644 index 000000000..19f8617c6 --- /dev/null +++ b/tests/disabled/macro/run/reify_newimpl_36.scala @@ -0,0 +1,15 @@ +import scala.reflect.runtime.universe._ +import scala.tools.reflect.Eval + +object Test extends dotty.runtime.LegacyApp { + { + val x = 42 + def foo() = reify(reify(x)); + { + val x = 2 + val code1 = foo() + val code2 = code1.eval + println(code2.eval) + } + } +} |