Files
kotlin-fork/compiler/testData/codegen/box/traits/kt5393.kt
T
2019-11-19 11:00:09 +03:00

19 lines
240 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
interface A {
fun foo(): String {
return "OK"
}
}
interface B : A
class C : B {
override fun foo(): String {
return super.foo()
}
}
fun box(): String {
return C().foo()
}