Files
kotlin-fork/compiler/testData/codegen/box/operatorConventions/kt14227.kt
T
2019-11-19 11:00:09 +03:00

15 lines
237 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
// WITH_RUNTIME
// KJS_WITH_FULL_RUNTIME
import kotlin.test.*
fun box(): String {
val m = HashMap<String, String>()
m["a"] = "A"
m["a"] += "B"
assertEquals("AB", m["a"])
return "OK"
}