blob: 36f0d05d8a70be4533a284ce219c894a984b637a [file]
// FILE: test.kt
fun box() {
when (1) {
2 ->
"2"
3 ->
"3"
else ->
"1"
}
}
// JVM_IR and JVM backends have different heuristics for when to use a switch.
// EXPECTATIONS
// test.kt:4 box
// EXPECTATIONS JVM_IR
// test.kt:5 box
// test.kt:7 box
// EXPECTATIONS
// test.kt:10 box
// test.kt:12 box