mirror of
https://github.com/github/codeql.git
synced 2025-12-19 10:23:15 +01:00
12 lines
210 B
Kotlin
12 lines
210 B
Kotlin
fun fn(x:Any?, y: Any?) {
|
|
if (x == null && y == null) {
|
|
throw Exception()
|
|
}
|
|
|
|
if (x != null) {
|
|
println("x not null")
|
|
} else if (y != null) {
|
|
println("y not null")
|
|
}
|
|
}
|