From 3281d0627be37df7343ca5a4f26847d85eb9618a Mon Sep 17 00:00:00 2001 From: Aleksandar Pokopec Date: Wed, 2 Jun 2010 17:09:39 +0000 Subject: Fixes #3508. No review is necessary. --- test/files/run/t3508.scala | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/files/run/t3508.scala (limited to 'test/files/run/t3508.scala') diff --git a/test/files/run/t3508.scala b/test/files/run/t3508.scala new file mode 100644 index 0000000000..01d976ba0d --- /dev/null +++ b/test/files/run/t3508.scala @@ -0,0 +1,11 @@ + + +import collection.immutable._ + + +// ticket #3508 +object Test { + def main(args: Array[String]) { + assert(Stream.tabulate(123)(_ + 1).toList == List.tabulate(123)(_ + 1)) + } +} -- cgit v1.2.3