78ca733c38
except tests that are not possible to add without some modifications in the test infra. See todos on the commented-out test declarations
19 lines
498 B
Kotlin
Vendored
19 lines
498 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
// JVM_TARGET: 1.8
|
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
|
|
// FIR status: in progress (M.G.), different structure of f/o
|
|
// IGNORE_BACKEND: ANDROID
|
|
// ^ NSME: java.util.AbstractMap.remove
|
|
// FULL_JDK
|
|
interface MSS : Map<String, String>
|
|
|
|
class Test : MSS, java.util.AbstractMap<String, String>() {
|
|
override val entries: MutableSet<MutableMap.MutableEntry<String, String>>
|
|
get() = throw Exception()
|
|
}
|
|
|
|
fun box(): String {
|
|
Test().remove(null, "")
|
|
return "OK"
|
|
}
|