Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
codegen
/
box
/
objects
/
classCallsProtectedInheritedByCompanion.kt
blob: 454a3815e242657942bc4d4cb2417ed2e7b9937b [
file
] [
log
] [
blame
]
open
class
A
{
protected
fun foo
()
=
"OK"
}
class
B
{
companion
object
:
A
()
fun bar
()
=
foo
()
}
fun box
()
=
B
().
bar
()