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