mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
This patch mutes the following test categories:
* Tests with java dependencies (System class,
java stdlib, jvm-oriented annotations etc).
* Coroutines tests.
* Reflection tests.
* Tests with an inheritance from the standard
collections.
11 lines
180 B
Kotlin
Vendored
11 lines
180 B
Kotlin
Vendored
// IGNORE_BACKEND: NATIVE
|
|
|
|
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"
|
|
} |