mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
11 lines
271 B
Kotlin
Vendored
11 lines
271 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
fun test(a: Int, b: Int, c: Int) {
|
|
when (0) {
|
|
a -> throw IllegalArgumentException("a is 0")
|
|
b -> throw IllegalArgumentException("b is 0")
|
|
c -> throw IllegalArgumentException("c is 0")
|
|
}
|
|
}
|
|
|
|
// 0 IF_ICMPNE
|
|
// 3 IFNE |