aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t6410.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/t6410.scala')
-rw-r--r--tests/run/t6410.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/run/t6410.scala b/tests/run/t6410.scala
new file mode 100644
index 000000000..0855ffecd
--- /dev/null
+++ b/tests/run/t6410.scala
@@ -0,0 +1,9 @@
+
+
+
+object Test extends dotty.runtime.LegacyApp {
+ val x = collection.parallel.mutable.ParArray.range(1,10) groupBy { _ % 2 } mapValues { _.size }
+ println(x)
+ val y = collection.parallel.immutable.ParVector.range(1,10) groupBy { _ % 2 } mapValues { _.size }
+ println(y)
+}