Files
kotlin/compiler/testData/codegen/java8/bytecodeText/jvmDefault/compatibility/simpleFunction.kt
2018-05-28 22:15:45 +02:00

20 lines
382 B
Kotlin
Vendored

// !API_VERSION: 1.3
// !JVM_DEFAULT_MODE: compatibility
// JVM_TARGET: 1.8
interface KInterface {
@JvmDefault
fun test2(): String {
return "OK"
}
}
interface KInterface2 : KInterface {
}
// 1 INVOKESTATIC KInterface2.access\$test2\$jd
// 1 INVOKESTATIC KInterface.access\$test2\$jd
// 1 INVOKESPECIAL KInterface2.test2
// 1 INVOKESPECIAL KInterface.test2