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