Files
kotlin-fork/compiler/testData/codegen/box/traits/kt5393.kt
T
2018-06-09 19:15:38 +03:00

19 lines
235 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_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()
}