Files
kotlin/compiler/testData/codegen/box/builtinStubMethods/extendJavaCollections/hashMap.kt
2018-06-09 19:15:38 +03:00

21 lines
266 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: NATIVE
class A : HashMap<String, Double>()
fun box(): String {
val a = A()
val b = A()
a.put("", 0.0)
a.remove("")
a.putAll(b)
a.clear()
a.keys
a.values
a.entries
return "OK"
}