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

20 lines
234 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
object A {
private @JvmStatic fun a(): String {
return "OK"
}
object Z {
val p = a()
}
}
fun box(): String {
return A.Z.p
}