diff options
-rw-r--r-- | test/files/run/t2027.check | 1 | ||||
-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 } } |