summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-09-01 22:05:38 +0000
committerPaul Phillips <paulp@improving.org>2009-09-01 22:05:38 +0000
commit729ae785e9a06da1c0c9bfb6d4b5a00865059dab (patch)
treec7f1fd0cc4c0756fd258f6684dfb2b7752d9cee0
parent3eb22b8eb1db6a73c8afc05f80dcb33d3c46ee15 (diff)
downloadscala-729ae785e9a06da1c0c9bfb6d4b5a00865059dab.tar.gz
scala-729ae785e9a06da1c0c9bfb6d4b5a00865059dab.tar.bz2
scala-729ae785e9a06da1c0c9bfb6d4b5a00865059dab.zip
Moved test case for now-fixed #2027 into files.
-rw-r--r--test/files/run/t2027.check1
-rw-r--r--test/files/run/t2027.scala (renamed from test/pending/run/t2027.scala)3
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/t2027.check b/test/files/run/t2027.check
new file mode 100644
index 0000000000..d00491fd7e
--- /dev/null
+++ b/test/files/run/t2027.check
@@ -0,0 +1 @@
+1
diff --git a/test/pending/run/t2027.scala b/test/files/run/t2027.scala
index 0fe41e5c74..ee9bd3886e 100644
--- a/test/pending/run/t2027.scala
+++ b/test/files/run/t2027.scala
@@ -1,7 +1,6 @@
-
object Test {
def main(args: Array[String]) {
def fibs: Stream[Int] = Stream.cons(0, Stream.cons(1, fibs.zip(fibs.tail).map(p => p._1 + p._2)))
- fibs(2) // stack overflow
+ println(fibs(2)) // stack overflow
}
}