Files
kotlin-fork/compiler/testData/codegen/box/collections/kt48945a.kt
T
2024-02-29 10:14:31 +00:00

18 lines
401 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// JVM_TARGET: 1.8
// 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"
}