e3d313dd02
Sometimes when running MPP tests we may observe js-specific modules running with the jvm-specific fir2ir converter (probably because the name didn't contain the JVM affix).
15 lines
253 B
Kotlin
Vendored
15 lines
253 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// SKIP_KLIB_TEST
|
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
|
// STATUS: This should not work in JS, Cloneable is JVM-specific API
|
|
|
|
class A : Cloneable
|
|
|
|
interface I : Cloneable
|
|
|
|
class C : I
|
|
|
|
class OC : I {
|
|
override fun clone(): OC = OC()
|
|
}
|