25 lines
479 B
Plaintext
Vendored
25 lines
479 B
Plaintext
Vendored
inline fun foo(noinline block: Function0<Unit>) {
|
|
return block.invoke()
|
|
}
|
|
|
|
fun test1() {
|
|
L1@ while (true) { // BLOCK
|
|
foo(block = local fun <anonymous>() {
|
|
error("") /* ErrorExpression */
|
|
}
|
|
)
|
|
foo(block = local fun <anonymous>() {
|
|
error("") /* ErrorExpression */
|
|
}
|
|
)
|
|
foo(block = local fun <anonymous>() {
|
|
error("") /* ErrorExpression */
|
|
}
|
|
)
|
|
foo(block = local fun <anonymous>() {
|
|
error("") /* ErrorExpression */
|
|
}
|
|
)
|
|
}
|
|
}
|