aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t4608.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/t4608.scala')
-rw-r--r--tests/run/t4608.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/run/t4608.scala b/tests/run/t4608.scala
new file mode 100644
index 000000000..34586e2d0
--- /dev/null
+++ b/tests/run/t4608.scala
@@ -0,0 +1,8 @@
+// #4608
+object Test {
+
+ def main(args: Array[String]): Unit = {
+ ((1 to 100) sliding 10).toList.par.map{_.map{i => i * i}}.flatten
+ }
+
+}