Files
kotlin/compiler/testData/codegen/boxWithJava/protectedStatic/funNotDirectSuperClass.kt
Alexander Udalov 2904d1745b Remove generated black box java codegen test
Move all testData to boxWithJava/
2013-01-28 18:20:41 +04:00

13 lines
206 B
Kotlin

open class A : funNotDirectSuperClass() {}
class Derived(): A() {
fun test(): String {
return funNotDirectSuperClass.protectedFun()!!
}
}
fun box(): String {
return Derived().test()
}