Files
kotlin/compiler/testData/codegen/boxAgainstJava/visibility/protectedStatic/funNotDirectSuperClass.kt
2014-06-26 20:57:40 +04:00

13 lines
206 B
Kotlin
Vendored

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