Files
kotlin-fork/compiler/testData/codegen/asmLike/receiverMangling/deepInlineWithLabels.kt
T
2024-02-23 23:59:13 +01:00

20 lines
387 B
Kotlin
Vendored

// IR_DIFFERENCE
// INLINE_SCOPES_DIFFERENCE
// LOCAL_VARIABLE_TABLE
fun String.foo(count: Int) {
val x = false
block b1@ {
val y = false
block b2@ {
val z = true
block b3@ {
this@foo + this@b1 + this@b2 + this@b3 + x + y + z + count
}
}
}
}
inline fun block(block: Long.() -> Unit) = 5L.block()