mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
16 lines
205 B
Kotlin
16 lines
205 B
Kotlin
import kotlin.platform.platformStatic
|
|
|
|
object A {
|
|
|
|
private platformStatic fun a(): String {
|
|
return "OK"
|
|
}
|
|
|
|
object Z {
|
|
val p = a()
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
return A.Z.p
|
|
} |