blob: 636cb2df104877beb5532838cceadf7d8a1eb40e [file]
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
val a: Int? = 3
when (a) {
1 -> {
1
}
2 -> {
2
}
else -> {
0
}
}
}
// EXPECTATIONS JVM JVM_IR
// test.kt:5 box
// test.kt:6 box
// test.kt:7 box
// test.kt:10 box
// test.kt:14 box
// test.kt:17 box
// EXPECTATIONS JS_IR
// test.kt:5 box
// test.kt:6 box
// test.kt:17 box