diff options
Diffstat (limited to 'test/files/run/t2075.scala')
-rw-r--r-- | test/files/run/t2075.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/t2075.scala b/test/files/run/t2075.scala new file mode 100644 index 0000000000..e3a68e4a83 --- /dev/null +++ b/test/files/run/t2075.scala @@ -0,0 +1,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) +} |