Files
kotlin-fork/backend.native/tests/external/codegen/blackbox/jvmStatic/privateMethod.kt
T

20 lines
284 B
Kotlin

// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_RUNTIME
object A {
private @JvmStatic fun a(): String {
return "OK"
}
object Z {
val p = a()
}
}
fun box(): String {
return A.Z.p
}