17 lines
247 B
Kotlin
Vendored
17 lines
247 B
Kotlin
Vendored
import kotlin.platform.*
|
|
|
|
class C {
|
|
companion object {
|
|
private platformStatic fun foo(): String {
|
|
return "OK"
|
|
}
|
|
}
|
|
|
|
fun bar(): String {
|
|
return foo()
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
return C().bar()
|
|
} |