diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-06-15 11:34:00 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-06-15 11:34:00 +0200 |
commit | 4a6ed4589089da89d13a221d4cb7bfe0c46ca7c7 (patch) | |
tree | 3f28fabd290ea4e21de0bcce639ec6dc6666852d /test | |
parent | 4c6522bab70ce8588f5688c9b4c01fe3ff8d24fc (diff) | |
download | scala-4a6ed4589089da89d13a221d4cb7bfe0c46ca7c7.tar.gz scala-4a6ed4589089da89d13a221d4cb7bfe0c46ca7c7.tar.bz2 scala-4a6ed4589089da89d13a221d4cb7bfe0c46ca7c7.zip |
fixes SI-5912
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/t5912.scala | 6 |
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 |