Files
kotlin-fork/compiler/testData/codegen/box/operatorConventions/kt14227.kt
T
Svyatoslav Kuzmich 75328f26ea [JS IR BE] Add missing KJS_WITH_FULL_RUNTIME to some tests
+ ranges test generator
2019-01-27 01:14:51 +03:00

14 lines
207 B
Kotlin
Vendored

// 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"
}