Files
kotlin-fork/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/accessPrivateStaticInlineClassCompanionMethod.kt
T
Steven Schäfer 0fe8fec1d1 Mute FIR tests
2020-02-28 14:48:17 +01:00

15 lines
265 B
Kotlin
Vendored

// !LANGUAGE: +InlineClasses
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
inline class R(private val r: Int) {
fun test() = ok()
companion object {
@JvmStatic
private fun ok() = "OK"
}
}
fun box() = R(0).test()