aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t0668.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/t0668.scala')
-rw-r--r--tests/run/t0668.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run/t0668.scala b/tests/run/t0668.scala
new file mode 100644
index 000000000..f97c360e5
--- /dev/null
+++ b/tests/run/t0668.scala
@@ -0,0 +1,5 @@
+object Test extends dotty.runtime.LegacyApp {
+ val ints: Array[Int] = Array(1, 2, 3)
+ ints.toArray
+}
+