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.scala12
1 files changed, 5 insertions, 7 deletions
diff --git a/tests/run/t6410.scala b/tests/run/t6410.scala
index 51aaad839..0855ffecd 100644
--- a/tests/run/t6410.scala
+++ b/tests/run/t6410.scala
@@ -1,11 +1,9 @@
-object Test {
- def main(args: Array[String]): Unit = {
- 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)
- }
+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)
}