summaryrefslogtreecommitdiff
path: root/test/files/pos
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos')
-rw-r--r--test/files/pos/t4112.scala12
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])
+ }
+}