30 lines
412 B
Kotlin
Vendored
30 lines
412 B
Kotlin
Vendored
// IGNORE_BACKEND: WASM
|
|
|
|
// FILE: test.kt
|
|
|
|
fun box() {
|
|
lookAtMe {
|
|
val c = "c"
|
|
}
|
|
}
|
|
|
|
inline fun lookAtMe(f: (String) -> Unit) {
|
|
val a = "a"
|
|
f(a)
|
|
}
|
|
|
|
// EXPECTATIONS JVM JVM_IR
|
|
// test.kt:6 box
|
|
// test.kt:12 box
|
|
// test.kt:13 box
|
|
// test.kt:7 box
|
|
// test.kt:8 box
|
|
// test.kt:13 box
|
|
// test.kt:14 box
|
|
// test.kt:9 box
|
|
|
|
// EXPECTATIONS JS_IR
|
|
// test.kt:12 box
|
|
// test.kt:7 box
|
|
// test.kt:9 box
|