Files
kotlin/compiler/testData/codegen/java8/box/jvm8/interfaceFlag/superCall.kt
2017-01-13 13:52:55 +01:00

24 lines
373 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
class TestClass : Simple {
override fun test(): String {
return super.test()
}
}
fun box(): String {
return TestClass().test() + Simple.testStatic()
}