blob: a9a05baa90e3883526e0c5887a2e0e588a435fc5 [file] [log] [blame]
open class A {
companion object {
protected fun foo() = "OK"
}
class B : A() {
fun bar() = foo()
}
}
fun box() = A.B().bar()