Files
kotlin-fork/compiler/testData/codegen/box/traits/kt5393.kt
T
2020-04-27 11:50:26 +03:00

18 lines
210 B
Kotlin
Vendored

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