diff options
Diffstat (limited to 'test/files/run/bug4285.scala')
-rw-r--r-- | test/files/run/bug4285.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/bug4285.scala b/test/files/run/bug4285.scala new file mode 100644 index 0000000000..9e89b13a3a --- /dev/null +++ b/test/files/run/bug4285.scala @@ -0,0 +1,7 @@ +object Test { + def main(args: Array[String]): Unit = { + println(scala.tools.nsc.interpreter.ILoop.run("val x = Array(1,2,3,4,5,6,7) ; val y = x transform (_ * 2) ; println(y.sum)")) + } +} + + |