summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/files/run/t4459.scala13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/run/t4459.scala b/test/files/run/t4459.scala
new file mode 100644
index 0000000000..8b164f77c8
--- /dev/null
+++ b/test/files/run/t4459.scala
@@ -0,0 +1,13 @@
+import collection._
+
+
+object Foo {
+ def main(args: Array[String]) {
+ for (i <- 0 until 2000) {
+ foo((0 until 10000).toSeq.par)
+ }
+ }
+
+ def foo(arg: GenSeq[_]): String = arg.map(x => x).mkString(",")
+}
+