blob: 796e63303db1af4e13f50c90cd03d302dd61c19d [file]
// IGNORE_BACKEND_FIR: JVM_IR
open class A {
companion object {
protected fun foo() = "OK"
}
class B : A() {
fun bar() = foo()
}
}
fun box() = A.B().bar()