Files
kotlin-fork/compiler/testData/codegen/box/traits/kt5393.kt
T
Roman Artemev f3758771c9 Update tests
2019-01-25 17:17:16 +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()
}