Files
kotlin-fork/compiler/testData/codegen/box/multiDecl/kt9828_hashMap.kt
T
2020-11-09 16:04:43 +03:00

15 lines
291 B
Kotlin
Vendored

// DONT_TARGET_EXACT_BACKEND: WASM
// WASM_MUTE_REASON: STDLIB_COLLECTIONS
// KJS_WITH_FULL_RUNTIME
// WITH_RUNTIME
fun box(): String {
val hashMap = HashMap<String, Int>()
hashMap.put("one", 1)
hashMap.put("two", 2)
for ((key, value) in hashMap) {
}
return "OK"
}