Files
kotlin-fork/compiler/testData/codegen/boxWithStdlib/platformStatic/syntheticAccessor.kt
T
2015-09-18 10:14:32 +03:00

17 lines
248 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()
}