diff options
Diffstat (limited to 'test/pending/run/t5230.scala')
-rw-r--r-- | test/pending/run/t5230.scala | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/test/pending/run/t5230.scala b/test/pending/run/t5230.scala deleted file mode 100644 index 5aab8f9290..0000000000 --- a/test/pending/run/t5230.scala +++ /dev/null @@ -1,19 +0,0 @@ -import scala.tools.nsc.reporters._ -import scala.tools.nsc.Settings -import reflect.runtime.Mirror.ToolBox - -object Test extends App { - val code = scala.reflect.Code.lift{ - class C { - val x = 2 - } - - println(new C().x) - }; - - val reporter = new ConsoleReporter(new Settings) - val toolbox = new ToolBox(reporter) - val ttree = toolbox.typeCheck(code.tree) - val evaluated = toolbox.runExpr(ttree) - println("evaluated = " + evaluated) -} |