mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
10 lines
245 B
Kotlin
Vendored
10 lines
245 B
Kotlin
Vendored
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 |