Files
kotlin-fork/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/captureInlineClassInstanceInLambda2.kt
T

9 lines
143 B
Kotlin
Vendored

// !LANGUAGE: +InlineClasses
inline class R(private val r: Long) {
fun test() = { ok() }()
fun ok() = "OK"
}
fun box() = R(0).test()