Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f7ff397a310cd4d47fc4849043f8c9d47412e512
/
.
/
compiler
/
testData
/
codegen
/
box
/
objects
/
classCallsProtectedInheritedByCompanion.kt
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
()