summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-01-06 12:33:28 +0000
committerHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-01-06 12:33:28 +0000
commitd66a76c1214cb0162931c32b9300f4c1a38b1099 (patch)
treef2c2492a77ca450f82b171c2b69bd0686669db59 /test
parent2bf84d21a63fb6e19ab54ec0695f235856c10f72 (diff)
downloadscala-d66a76c1214cb0162931c32b9300f4c1a38b1099.tar.gz
scala-d66a76c1214cb0162931c32b9300f4c1a38b1099.tar.bz2
scala-d66a76c1214cb0162931c32b9300f4c1a38b1099.zip
Fixes #2857. No review.
Diffstat (limited to 'test')
-rw-r--r--test/files/run/t2857.check1
-rw-r--r--test/files/run/t2857.scala9
2 files changed, 10 insertions, 0 deletions
diff --git a/test/files/run/t2857.check b/test/files/run/t2857.check
new file mode 100644
index 0000000000..c508d5366f
--- /dev/null
+++ b/test/files/run/t2857.check
@@ -0,0 +1 @@
+false
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))
+}
+
+