Files
kotlin-fork/compiler/testData/ir/irText/expressions/kt48708.kt
T
2021-09-13 16:22:50 +03:00

14 lines
170 B
Kotlin
Vendored

// ISSUE: KT-48708
fun test(b: Boolean) {
val x = if (b) {
3
} else {
throw Exception()
0
}
takeInt(x)
}
fun takeInt(x: Int) {}