Files
kotlin-fork/backend.native/tests/external/codegen/box/jvmStatic/privateMethod.kt
T
2017-03-13 15:31:46 +03:00

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
}