summaryrefslogtreecommitdiff
path: root/test/files/pos/t3496.scala
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-06-01 16:15:40 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-06-01 16:15:40 +0000
commit8acca208ae541e44f306a50c210e2626f571332b (patch)
tree31d42d75e6c93e4b5c443b3c9da8d10605898f6c /test/files/pos/t3496.scala
parent6e3814fe9e5c61601db81f6a46f3f5147c6c0e5f (diff)
downloadscala-8acca208ae541e44f306a50c210e2626f571332b.tar.gz
scala-8acca208ae541e44f306a50c210e2626f571332b.tar.bz2
scala-8acca208ae541e44f306a50c210e2626f571332b.zip
Fixes #3496. No review.
Diffstat (limited to 'test/files/pos/t3496.scala')
-rw-r--r--test/files/pos/t3496.scala15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/files/pos/t3496.scala b/test/files/pos/t3496.scala
new file mode 100644
index 0000000000..e1aa032ab1
--- /dev/null
+++ b/test/files/pos/t3496.scala
@@ -0,0 +1,15 @@
+
+
+
+
+// ticket #3496
+object Test {
+
+ def main(args: Array[String]) {
+ val s = Stream.from(1)
+ s.take(5)
+ s.drop(5)
+ s.splitAt(5)
+ }
+
+}