Files
kotlin-fork/compiler/testData/codegen/box/jvmStatic/syntheticAccessor.kt
T
2019-11-19 11:00:09 +03:00

21 lines
289 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
class C {
companion object {
private @JvmStatic fun foo(): String {
return "OK"
}
}
fun bar(): String {
return foo()
}
}
fun box(): String {
return C().bar()
}