summaryrefslogblamecommitdiff
path: root/test/files/run/t2075.scala
blob: e3a68e4a835907ad9b5c060cb41d3d5f8a93d537 (plain) (tree)
1
2
3
4
5
6
7
                         




                                                          
 
object Test extends App {
  var tm = new scala.collection.immutable.TreeMap[Int,Int]
  for (i <- 0 to 100)
    tm = tm.insert(i, i)

  tm.keySet.filter(_ < 40)
}