diff options
Diffstat (limited to 'tests/pending/run/reify_closure8a.scala')
-rw-r--r-- | tests/pending/run/reify_closure8a.scala | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/pending/run/reify_closure8a.scala b/tests/pending/run/reify_closure8a.scala deleted file mode 100644 index ad343dd15..000000000 --- a/tests/pending/run/reify_closure8a.scala +++ /dev/null @@ -1,15 +0,0 @@ -import scala.reflect.runtime.universe._ -import scala.reflect.runtime.{universe => ru} -import scala.reflect.runtime.{currentMirror => cm} -import scala.tools.reflect.ToolBox - -object Test extends dotty.runtime.LegacyApp { - class Foo(val y: Int) { - def fun = reify{y} - } - - val toolbox = cm.mkToolBox() - val dyn = toolbox.eval(new Foo(10).fun.tree) - val foo = dyn.asInstanceOf[Int] - println(foo) -} |