aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t5328.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/t5328.scala')
-rw-r--r--tests/run/t5328.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run/t5328.scala b/tests/run/t5328.scala
new file mode 100644
index 000000000..74c8ace89
--- /dev/null
+++ b/tests/run/t5328.scala
@@ -0,0 +1,5 @@
+object Test extends dotty.runtime.LegacyApp {
+ println(Vector(1).view.updated(0,2).toList mkString ",")
+ println(Seq(1,2,3).view.updated(2,8).toList mkString ",")
+ println(List(1,2,3).view.updated(1,8).toList mkString ",")
+}