blob: 96b28a985fd7ccb5cdc29ac2467ad03ee4708fa7 [file]
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun <T> eval(f: () -> T) = f()
fun box() {
eval {
"OK"
}
}
// EXPECTATIONS JVM JVM_IR
// test.kt:7 box
// test.kt:4 eval
// test.kt:8 invoke
// test.kt:4 eval
// test.kt:7 box
// test.kt:10 box
// EXPECTATIONS JS_IR
// test.kt:7 box
// test.kt:4 eval
// test.kt:8 box$lambda
// test.kt:10 box