diff options
author | Josh Suereth <joshua.suereth@gmail.com> | 2012-05-08 15:51:52 -0400 |
---|---|---|
committer | Josh Suereth <joshua.suereth@gmail.com> | 2012-05-08 15:51:52 -0400 |
commit | 83d815622e3e76083496cffa9efb1e7c8fc3e5d3 (patch) | |
tree | e9b23dcfbdca670d9e425038df31728a0fd58f22 /test/files/run | |
parent | da04d691c455aa3f3391bdbd9bac7fb59f29cedf (diff) | |
download | scala-83d815622e3e76083496cffa9efb1e7c8fc3e5d3.tar.gz scala-83d815622e3e76083496cffa9efb1e7c8fc3e5d3.tar.bz2 scala-83d815622e3e76083496cffa9efb1e7c8fc3e5d3.zip |
Added tests for SI-4190.
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/t4190.check | 3 | ||||
-rw-r--r-- | test/files/run/t4190.scala | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/t4190.check b/test/files/run/t4190.check new file mode 100644 index 0000000000..b8aae0c7a1 --- /dev/null +++ b/test/files/run/t4190.check @@ -0,0 +1,3 @@ +a0 +b0 +c0 diff --git a/test/files/run/t4190.scala b/test/files/run/t4190.scala new file mode 100644 index 0000000000..aa88b8708d --- /dev/null +++ b/test/files/run/t4190.scala @@ -0,0 +1,6 @@ +import collection.mutable._ + +object Test extends App { + val x: ArrayBuffer[String] = ArrayBuffer("a", "b", "c") + x.view map (_ + "0") foreach println +} |