aboutsummaryrefslogblamecommitdiff
path: root/tests/run/t3508.scala
blob: 80ef89a61ba3ba0d870187af4c8e665b6e1b6ef8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                           
import collection.immutable._


// ticket #3508
object Test {
  def main(args: Array[String]): Unit = {
    assert(Stream.tabulate(123)(_ + 1).toList == List.tabulate(123)(_ + 1))
  }
}