diff options
Diffstat (limited to 'test/files/run/t4285.scala')
-rw-r--r-- | test/files/run/t4285.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/t4285.scala b/test/files/run/t4285.scala new file mode 100644 index 0000000000..1d9afcaf3d --- /dev/null +++ b/test/files/run/t4285.scala @@ -0,0 +1,8 @@ +import scala.tools.partest.ReplTest +object Test extends ReplTest { + def code = """ + |val x = Array(1,2,3,4,5,6,7) + |val y = x transform (_ * 2) + |println(y.sum) + """.stripMargin +} |