Files
kotlin-fork/compiler/testData/ir/irText/expressions/kt48708.kt.txt
T
2024-02-16 10:19:38 +00:00

17 lines
189 B
Kotlin
Vendored

fun takeInt(x: Int) {
}
fun test(b: Boolean) {
val x: Int = when {
b -> { // BLOCK
3
}
else -> { // BLOCK
throw Exception()
0
}
}
takeInt(x = x)
}