From 6dbd2dac2750db552b42518d7203c7047975831c Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Tue, 29 Nov 2011 16:31:17 +0000 Subject: Moved the test for SI-5230 from files to pending --- test/files/run/t5230.check | 1 - test/files/run/t5230.scala | 19 ------------------- test/pending/run/t5230.check | 1 + test/pending/run/t5230.scala | 19 +++++++++++++++++++ 4 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 test/files/run/t5230.check delete mode 100644 test/files/run/t5230.scala create mode 100644 test/pending/run/t5230.check create mode 100644 test/pending/run/t5230.scala (limited to 'test') diff --git a/test/files/run/t5230.check b/test/files/run/t5230.check deleted file mode 100644 index 5ef4ff4d04..0000000000 --- a/test/files/run/t5230.check +++ /dev/null @@ -1 +0,0 @@ -evaluated = 2 diff --git a/test/files/run/t5230.scala b/test/files/run/t5230.scala deleted file mode 100644 index 5aab8f9290..0000000000 --- a/test/files/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) -} diff --git a/test/pending/run/t5230.check b/test/pending/run/t5230.check new file mode 100644 index 0000000000..5ef4ff4d04 --- /dev/null +++ b/test/pending/run/t5230.check @@ -0,0 +1 @@ +evaluated = 2 diff --git a/test/pending/run/t5230.scala b/test/pending/run/t5230.scala new file mode 100644 index 0000000000..5aab8f9290 --- /dev/null +++ b/test/pending/run/t5230.scala @@ -0,0 +1,19 @@ +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) +} -- cgit v1.2.3