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