summaryrefslogtreecommitdiff
path: root/test/files/run/t5912.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-06-15 11:34:00 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-06-15 11:34:00 +0200
commit4a6ed4589089da89d13a221d4cb7bfe0c46ca7c7 (patch)
tree3f28fabd290ea4e21de0bcce639ec6dc6666852d /test/files/run/t5912.scala
parent4c6522bab70ce8588f5688c9b4c01fe3ff8d24fc (diff)
downloadscala-4a6ed4589089da89d13a221d4cb7bfe0c46ca7c7.tar.gz
scala-4a6ed4589089da89d13a221d4cb7bfe0c46ca7c7.tar.bz2
scala-4a6ed4589089da89d13a221d4cb7bfe0c46ca7c7.zip
fixes SI-5912
Diffstat (limited to 'test/files/run/t5912.scala')
-rw-r--r--test/files/run/t5912.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t5912.scala b/test/files/run/t5912.scala
new file mode 100644
index 0000000000..7710d04396
--- /dev/null
+++ b/test/files/run/t5912.scala
@@ -0,0 +1,6 @@
+object Test extends App{
+ import scala.reflect.runtime.{currentMirror=>cm}
+ import scala.tools.reflect._
+ import scala.reflect.runtime.universe._
+ val tree = cm.mkToolBox().typeCheck( Literal(Constant("test")) )
+} \ No newline at end of file