aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t3496.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/t3496.scala')
-rw-r--r--tests/run/t3496.scala15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/run/t3496.scala b/tests/run/t3496.scala
new file mode 100644
index 000000000..35bc5db24
--- /dev/null
+++ b/tests/run/t3496.scala
@@ -0,0 +1,15 @@
+
+
+
+
+// ticket #3496
+object Test {
+
+ def main(args: Array[String]): Unit = {
+ val s = Stream.from(1)
+ s.take(5)
+ s.drop(5)
+ s.splitAt(5)
+ }
+
+}