summaryrefslogblamecommitdiff
path: root/test/files/run/t2524.scala
blob: 552663e9e87cb4ba2f4e8e145246202fc7ab039e (plain) (tree)
1
2
3
4
5
6
7
8
9
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")
  }
}