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

9 lines
142 B
Kotlin
Vendored

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