blob: 8a02fdf2c46136cd8929c321bd98987fecd16eb4 [file]
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
foo({
val a = 1
})
foo() {
val a = 1
}
}
inline fun foo(f: () -> Unit) {
val a = 1
f()
}
// EXPECTATIONS JVM JVM_IR
// test.kt:6 box
// test.kt:16 box
// test.kt:17 box
// test.kt:7 box
// test.kt:8 box
// test.kt:17 box
// test.kt:18 box
// test.kt:10 box
// test.kt:16 box
// test.kt:17 box
// test.kt:11 box
// test.kt:12 box
// test.kt:17 box
// test.kt:18 box
// test.kt:13 box
// EXPECTATIONS JS_IR
// test.kt:16 box
// test.kt:7 box
// test.kt:16 box
// test.kt:11 box
// test.kt:13 box