diff options
Diffstat (limited to 'tests/run/t3508.scala')
-rw-r--r-- | tests/run/t3508.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/run/t3508.scala b/tests/run/t3508.scala new file mode 100644 index 000000000..80ef89a61 --- /dev/null +++ b/tests/run/t3508.scala @@ -0,0 +1,11 @@ + + +import collection.immutable._ + + +// ticket #3508 +object Test { + def main(args: Array[String]): Unit = { + assert(Stream.tabulate(123)(_ + 1).toList == List.tabulate(123)(_ + 1)) + } +} |