Files
kotlin-fork/compiler/testData/codegen/visibility/withJava/protected_static/protectedStaticFunNotDirectSuperClass.kt
T
Natalia.Ukhorskaya e37cb461f6 Support visibility for protected static members
#KT-2999 Fixed
2013-01-24 18:43:37 +04:00

13 lines
236 B
Kotlin

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