diff options
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/t2524.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/run/t2524.scala b/test/files/run/t2524.scala new file mode 100644 index 0000000000..552663e9e8 --- /dev/null +++ b/test/files/run/t2524.scala @@ -0,0 +1,10 @@ +object Test { + def main(args: Array[String]) { + val m = new collection.mutable.HashMap[String, String] { + override def initialSize = 0 + } + m.toString + m("key") = "value" + assert(m("key") == "value") + } +} |