summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-06-02 17:09:39 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-06-02 17:09:39 +0000
commit3281d0627be37df7343ca5a4f26847d85eb9618a (patch)
tree4667cbfbd2ee5ed55ed6f34f8abab0b0ec985e20 /test/files
parentde67e153ee74427f98b4ea5c21afa8fb01fe374a (diff)
downloadscala-3281d0627be37df7343ca5a4f26847d85eb9618a.tar.gz
scala-3281d0627be37df7343ca5a4f26847d85eb9618a.tar.bz2
scala-3281d0627be37df7343ca5a4f26847d85eb9618a.zip
Fixes #3508. No review is necessary.
Diffstat (limited to 'test/files')
-rw-r--r--test/files/run/t3496.scala (renamed from test/files/pos/t3496.scala)0
-rw-r--r--test/files/run/t3508.scala11
2 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/t3496.scala b/test/files/run/t3496.scala
index e1aa032ab1..e1aa032ab1 100644
--- a/test/files/pos/t3496.scala
+++ b/test/files/run/t3496.scala
diff --git a/test/files/run/t3508.scala b/test/files/run/t3508.scala
new file mode 100644
index 0000000000..01d976ba0d
--- /dev/null
+++ b/test/files/run/t3508.scala
@@ -0,0 +1,11 @@
+
+
+import collection.immutable._
+
+
+// ticket #3508
+object Test {
+ def main(args: Array[String]) {
+ assert(Stream.tabulate(123)(_ + 1).toList == List.tabulate(123)(_ + 1))
+ }
+}