mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 15:53:40 +00:00
10 lines
183 B
Kotlin
Vendored
10 lines
183 B
Kotlin
Vendored
// !LANGUAGE: +InlineClasses
|
|
// IGNORE_BACKEND_FIR: JVM_IR
|
|
|
|
inline class R(private val r: Long) {
|
|
fun test() = run { ok() }
|
|
|
|
private fun ok() = "OK"
|
|
}
|
|
|
|
fun box() = R(0).test() |