summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/files/run/t2177.check1
-rw-r--r--test/files/run/t2177.scala3
2 files changed, 4 insertions, 0 deletions
diff --git a/test/files/run/t2177.check b/test/files/run/t2177.check
new file mode 100644
index 0000000000..e56e15bb7d
--- /dev/null
+++ b/test/files/run/t2177.check
@@ -0,0 +1 @@
+12345
diff --git a/test/files/run/t2177.scala b/test/files/run/t2177.scala
new file mode 100644
index 0000000000..fd1a29d198
--- /dev/null
+++ b/test/files/run/t2177.scala
@@ -0,0 +1,3 @@
+object Test extends Application {
+ println(Stream.from(1).take(5).mkString)
+}