summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Suereth <joshua.suereth@gmail.com>2012-05-08 15:51:52 -0400
committerJosh Suereth <joshua.suereth@gmail.com>2012-05-08 15:51:52 -0400
commit83d815622e3e76083496cffa9efb1e7c8fc3e5d3 (patch)
treee9b23dcfbdca670d9e425038df31728a0fd58f22
parentda04d691c455aa3f3391bdbd9bac7fb59f29cedf (diff)
downloadscala-83d815622e3e76083496cffa9efb1e7c8fc3e5d3.tar.gz
scala-83d815622e3e76083496cffa9efb1e7c8fc3e5d3.tar.bz2
scala-83d815622e3e76083496cffa9efb1e7c8fc3e5d3.zip
Added tests for SI-4190.
-rw-r--r--test/files/run/t4190.check3
-rw-r--r--test/files/run/t4190.scala6
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
+}