Files
kotlin-fork/compiler/testData/diagnostics/tests/override/FakeOverrideModality3.kt
T

18 lines
272 B
Kotlin
Vendored

// FIR_IDENTICAL
interface A {
fun foo() {}
}
interface B : A {
abstract override fun foo()
}
interface C : A {
abstract override fun foo()
}
interface D : A
// Fake override Z#foo should be abstract
<!ABSTRACT_MEMBER_NOT_IMPLEMENTED!>class Z<!> : B, C, D