diff options
author | Philipp Haller <hallerp@gmail.com> | 2009-06-16 08:58:17 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2009-06-16 08:58:17 +0000 |
commit | a4bdfdcccb498aeec2511f9230647ec27da6ff41 (patch) | |
tree | fab66c989caee7194241b23d00237416b3f1110a /test/pending/run/t2027.scala | |
parent | 54093685b80472b8d96f5c1d61e3fb323fb438b4 (diff) | |
download | scala-a4bdfdcccb498aeec2511f9230647ec27da6ff41.tar.gz scala-a4bdfdcccb498aeec2511f9230647ec27da6ff41.tar.bz2 scala-a4bdfdcccb498aeec2511f9230647ec27da6ff41.zip |
Added tests for #2027 and #2030.
Diffstat (limited to 'test/pending/run/t2027.scala')
-rw-r--r-- | test/pending/run/t2027.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/pending/run/t2027.scala b/test/pending/run/t2027.scala new file mode 100644 index 0000000000..0fe41e5c74 --- /dev/null +++ b/test/pending/run/t2027.scala @@ -0,0 +1,7 @@ + +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 + } +} |