11 lines
173 B
Kotlin
Vendored
11 lines
173 B
Kotlin
Vendored
// !LANGUAGE: +InlineClasses
|
|
|
|
inline class R(private val r: Int) {
|
|
fun test() = pv
|
|
|
|
companion object {
|
|
private val pv = "OK"
|
|
}
|
|
}
|
|
|
|
fun box() = R(0).test() |