Files
kotlin-fork/compiler/testData/codegen/box/jvmStatic/syntheticAccessor.kt
T
2016-11-09 21:41:12 +03:00

21 lines
331 B
Kotlin
Vendored

// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
// WITH_RUNTIME
class C {
companion object {
private @JvmStatic fun foo(): String {
return "OK"
}
}
fun bar(): String {
return foo()
}
}
fun box(): String {
return C().bar()
}