summaryrefslogtreecommitdiff
path: root/test/files/run/t2857.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t2857.scala')
-rw-r--r--test/files/run/t2857.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/t2857.scala b/test/files/run/t2857.scala
new file mode 100644
index 0000000000..bd0d6fde16
--- /dev/null
+++ b/test/files/run/t2857.scala
@@ -0,0 +1,9 @@
+object Test extends Application {
+ import collection.mutable._
+ val m = new HashMap[Int, Set[String]] with MultiMap[Int, String]
+ m.addBinding(6, "Foo")
+ m.removeBinding(6, "Foo")
+ println(m.contains(6))
+}
+
+