summaryrefslogtreecommitdiff
path: root/test/files/run/t5230.scala
diff options
context:
space:
mode:
authorEugene Burmako <burmako@epfl.ch>2011-11-29 16:31:17 +0000
committerEugene Burmako <burmako@epfl.ch>2011-11-29 16:31:17 +0000
commit6dbd2dac2750db552b42518d7203c7047975831c (patch)
treeb69cdc2a117294b6604940fe307a5037dfb85436 /test/files/run/t5230.scala
parentca37db37e944c05a35f435c6130a815bdead8604 (diff)
downloadscala-6dbd2dac2750db552b42518d7203c7047975831c.tar.gz
scala-6dbd2dac2750db552b42518d7203c7047975831c.tar.bz2
scala-6dbd2dac2750db552b42518d7203c7047975831c.zip
Moved the test for SI-5230 from files to pending
Diffstat (limited to 'test/files/run/t5230.scala')
-rw-r--r--test/files/run/t5230.scala19
1 files changed, 0 insertions, 19 deletions
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)
-}