mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
11 lines
179 B
Kotlin
Vendored
11 lines
179 B
Kotlin
Vendored
// IGNORE_BACKEND: JS_IR
|
|
|
|
fun <K: Any, V: Any> foo(k: K, v: V) {
|
|
val map = HashMap<K, V>()
|
|
val old = map.put(k, v)
|
|
}
|
|
|
|
fun box(): String {
|
|
foo("", "")
|
|
return "OK"
|
|
} |