summaryrefslogtreecommitdiff
path: root/test/files/run/t4459.scala
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2011-04-13 16:32:09 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2011-04-13 16:32:09 +0000
commit44ddee59a4264f312b8900e0cfc79c71b999e24c (patch)
treea2a5fddbb71470f604613b38a9becc7f578befc5 /test/files/run/t4459.scala
parent97b9978b85ff841e540d13a585e074252c747fba (diff)
downloadscala-44ddee59a4264f312b8900e0cfc79c71b999e24c.tar.gz
scala-44ddee59a4264f312b8900e0cfc79c71b999e24c.tar.bz2
scala-44ddee59a4264f312b8900e0cfc79c71b999e24c.zip
Added test case for #4459.
No review.
Diffstat (limited to 'test/files/run/t4459.scala')
-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(",")
+}
+