Files
kotlin-fork/compiler/testData/ir/irText/classes/cloneable.kt
T
Nikolay Lunyak e3d313dd02 [FIR] Introduce the proper Fir2IrResultsConverter
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).
2023-04-25 11:29:34 +00:00

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()
}