aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t2255.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/t2255.scala')
-rw-r--r--tests/run/t2255.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/run/t2255.scala b/tests/run/t2255.scala
new file mode 100644
index 000000000..64dec8cae
--- /dev/null
+++ b/tests/run/t2255.scala
@@ -0,0 +1,3 @@
+object Test extends dotty.runtime.LegacyApp {
+ println(Stream.continually(Stream(1, 2, 3)).flatten.take(6).toList)
+}