summaryrefslogtreecommitdiff
path: root/test/files/run/t4294.scala
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2011-02-28 11:47:33 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2011-02-28 11:47:33 +0000
commite0aeabba88613ff53f8eb86104e444bea75c97c6 (patch)
tree35e577dd1d8ec5b33f091384221fc4c20b76b84f /test/files/run/t4294.scala
parent34d3f1cb95b1cc0fba242296026e546366c483d9 (diff)
downloadscala-e0aeabba88613ff53f8eb86104e444bea75c97c6.tar.gz
scala-e0aeabba88613ff53f8eb86104e444bea75c97c6.tar.bz2
scala-e0aeabba88613ff53f8eb86104e444bea75c97c6.zip
Fixes and closes #4294.
No review.
Diffstat (limited to 'test/files/run/t4294.scala')
-rw-r--r--test/files/run/t4294.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/t4294.scala b/test/files/run/t4294.scala
new file mode 100644
index 0000000000..588fa90f76
--- /dev/null
+++ b/test/files/run/t4294.scala
@@ -0,0 +1,9 @@
+
+
+
+
+object Test {
+ def main(args: Array[String]) {
+ (Stream.from(1).collect{case x if x > 5000000 => x}: Stream[Int])
+ }
+}