Files
kotlin/compiler/testData/codegen/java8/box/jvm8/interfaceFlag/superCallIndirect.kt

26 lines
405 B
Kotlin
Vendored

// FILE: Simple.java
public interface Simple {
default String test() {
return "O";
}
static String testStatic() {
return "K";
}
}
// FILE: main.kt
// JVM_TARGET: 1.8
interface KSimple : Simple {}
class TestClass : KSimple {
override fun test(): String {
return super.test()
}
}
fun box(): String {
return TestClass().test() + Simple.testStatic()
}