Files
kotlin/compiler/testData/codegen/box/jvmStatic/privateMethod.kt
2016-11-09 21:41:12 +03:00

20 lines
276 B
Kotlin
Vendored

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