mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
11 lines
166 B
Kotlin
Vendored
11 lines
166 B
Kotlin
Vendored
class Foo private constructor(val param: String = "OK") {
|
|
companion object {
|
|
val s = Foo()
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
Foo.s.param
|
|
return "OK"
|
|
}
|