Files
kotlin-fork/compiler/testData/codegen/box/compatibility/privateCompanionObject.kt
T
2019-11-19 11:00:09 +03:00

12 lines
172 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
class Test {
private companion object {
val res = "OK"
}
fun res() = res
}
fun box(): String {
return Test().res()
}