a5e4e0284e
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.
16 lines
314 B
Kotlin
Vendored
16 lines
314 B
Kotlin
Vendored
// IGNORE_BACKEND: NATIVE
|
|
|
|
open class Map1 : HashMap<String, Any?>()
|
|
class Map2 : Map1()
|
|
fun box(): String {
|
|
val m = Map2()
|
|
if (m.entries.size != 0) return "fail 1"
|
|
|
|
m.put("56", "OK")
|
|
val x = m.entries.iterator().next()
|
|
|
|
if (x.key != "56" || x.value != "OK") return "fail 2"
|
|
|
|
return "OK"
|
|
}
|