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

16 lines
188 B
Plaintext
Vendored

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