blob: 851812d0663d157e71159e303fa41a9e7602eae4 [file]
// FILE: test.kt
fun box(): String {
try {
val x = "x"
throw RuntimeException(x)
} finally {
return "OK"
}
return "FAIL"
}
// EXPECTATIONS JVM_IR
// test.kt:8 box:
// test.kt:9 box:
// test.kt:10 box: x:java.lang.String="x":java.lang.String
// test.kt:12 box:
// EXPECTATIONS JS_IR
// test.kt:9 box:
// test.kt:10 box: x="x":kotlin.String
// test.kt:12 box: x="x":kotlin.String
// EXPECTATIONS WASM
// test.kt:9 $box: $x:(ref null $kotlin.String)=null (16, 16, 16, 16)
// test.kt:10 $box: $x:(ref $kotlin.String)=(ref $kotlin.String) (14, 31, 14, 8)
// test.kt:12 $box: $x:(ref $kotlin.String)=(ref $kotlin.String) (15, 15, 15, 8)