Files
kotlin-fork/compiler/testData/codegen/box/objects/companionObjectAccess/kt27121_lv12.kt
T

14 lines
201 B
Kotlin
Vendored

// !LANGUAGE: -ProperVisibilityForCompanionObjectInstanceField
interface A {
fun test() = ok()
private companion object {
fun ok() = "OK"
}
}
class C : A
fun box() = C().test()