Files
kotlin-fork/compiler/testData/ir/irText/declarations/fakeOverrideModality.kt
T
2024-02-21 12:04:11 +00:00

17 lines
231 B
Kotlin
Vendored

// FIR_IDENTICAL
// ENABLE_IR_FAKE_OVERRIDE_GENERATION
// TARGET_BACKEND: JVM
open class Base
class Child: Base()
interface I {
fun foo(): Base
}
abstract class J {
abstract fun foo(): Child
}
abstract class A : I, J()