mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
11 lines
290 B
Kotlin
Vendored
11 lines
290 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
fun test(a: Any?, b: Any?, c: Any?) {
|
|
when (null) {
|
|
a -> throw IllegalArgumentException("a is null")
|
|
b -> throw IllegalArgumentException("b is null")
|
|
c -> throw IllegalArgumentException("c is null")
|
|
}
|
|
}
|
|
|
|
// 0 areEqual
|
|
// 3 IFNONNULL |