summaryrefslogtreecommitdiff
path: root/test/files/run/t3996.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t3996.scala')
-rw-r--r--test/files/run/t3996.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/run/t3996.scala b/test/files/run/t3996.scala
new file mode 100644
index 0000000000..1bb1216390
--- /dev/null
+++ b/test/files/run/t3996.scala
@@ -0,0 +1,12 @@
+
+
+
+
+
+object Test {
+ def main(args: Array[String]) {
+ import collection.mutable.LinkedList
+ val l = new LinkedList[Int]() ++ (0 until 10000)
+ assert(l.length == 10000)
+ }
+}