summaryrefslogtreecommitdiff
path: root/test/files/run/bug3088.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-09-16 01:04:43 +0000
committerPaul Phillips <paulp@improving.org>2010-09-16 01:04:43 +0000
commit81226c622338a743e88e102c118016721f64e56f (patch)
treea8f9156d20e17ac80a9d3e45d5e8b0f6bda11635 /test/files/run/bug3088.scala
parentb094defe6162232d8be29ae0eb44ab6742c11f9b (diff)
downloadscala-81226c622338a743e88e102c118016721f64e56f.tar.gz
scala-81226c622338a743e88e102c118016721f64e56f.tar.bz2
scala-81226c622338a743e88e102c118016721f64e56f.zip
Test for already closed #3088. No review.
[Editorial correction: r23000 was submitted by Johannes Rudolph and my name inadvertently replaced his in the windy path from git to svn. The comments and code are his. Posterity, take note!]
Diffstat (limited to 'test/files/run/bug3088.scala')
-rw-r--r--test/files/run/bug3088.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/bug3088.scala b/test/files/run/bug3088.scala
new file mode 100644
index 0000000000..ea820b1c9c
--- /dev/null
+++ b/test/files/run/bug3088.scala
@@ -0,0 +1,9 @@
+import collection.mutable._
+
+object Test {
+ def main(args: Array[String]): Unit = {
+ val b = new ListBuffer[Int]
+ b += 1
+ b ++= b
+ }
+}