Files
kotlin-fork/compiler/testData/diagnostics/tests/override/ParentInheritsManyImplementations.kt
T
2021-04-02 10:24:20 +03:00

19 lines
220 B
Kotlin
Vendored

// FIR_IDENTICAL
package d
interface A {
fun foo() = 1
}
interface B {
fun foo() = 2
}
open <!MANY_INTERFACES_MEMBER_NOT_IMPLEMENTED!>class C<!> : A, B {}
interface E {
fun foo(): Int
}
class D : C() {}