mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 00:21:32 +00:00
20 lines
276 B
Kotlin
Vendored
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
|
|
}
|