d022bb0248
#KT-29405 Fixed
43 lines
484 B
Kotlin
Vendored
43 lines
484 B
Kotlin
Vendored
// !JVM_TARGET: 1.6
|
|
// FILE: Test.java
|
|
public interface Test {
|
|
default String test() {
|
|
return "123";
|
|
}
|
|
}
|
|
|
|
// FILE: test.kt
|
|
interface KTrait : Test {
|
|
fun ktest() {
|
|
super.test()
|
|
|
|
test()
|
|
}
|
|
}
|
|
|
|
|
|
interface KTrait2 : KTrait {
|
|
fun ktest2() {
|
|
super.test()
|
|
|
|
test()
|
|
}
|
|
}
|
|
|
|
class A : KTrait {
|
|
fun a() {
|
|
super.test()
|
|
|
|
test()
|
|
}
|
|
}
|
|
|
|
|
|
class A2 : KTrait2 {
|
|
fun a() {
|
|
super.test()
|
|
|
|
test()
|
|
}
|
|
}
|