diff options
Diffstat (limited to 'test/files/run/t2176.scala')
-rw-r--r-- | test/files/run/t2176.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/run/t2176.scala b/test/files/run/t2176.scala new file mode 100644 index 0000000000..f8b07271a1 --- /dev/null +++ b/test/files/run/t2176.scala @@ -0,0 +1,4 @@ +object Test extends Application { + val res0 = Stream.cons(1, Stream.cons( { println("ouch"); 2 }, Stream.empty)) + println(res0.take(1).force) +} |