e37cb461f6
#KT-2999 Fixed
13 lines
236 B
Kotlin
13 lines
236 B
Kotlin
open class A : protectedStaticFunNotDirectSuperClass() {}
|
|
|
|
class Derived(): A() {
|
|
fun test(): String {
|
|
return protectedStaticFunNotDirectSuperClass.protectedFun()!!
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
return Derived().test()
|
|
}
|
|
|