diff options
Diffstat (limited to 'test/files/pos/t4112.scala')
-rw-r--r-- | test/files/pos/t4112.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/pos/t4112.scala b/test/files/pos/t4112.scala new file mode 100644 index 0000000000..311dad9e72 --- /dev/null +++ b/test/files/pos/t4112.scala @@ -0,0 +1,12 @@ + + +import collection.immutable._ + + + +object Test { + def main(args: Array[String]) { + val treemap = TreeMap(1 -> 2, 3 -> 4) ++ TreeMap(5 -> 6) + (treemap: TreeMap[Int, Int]) + } +} |