Files
kotlin-fork/compiler/testData/ir/irText/expressions/tryCatch.fir.kt.txt
T
2021-11-01 23:59:59 +03:00

28 lines
318 B
Plaintext
Vendored

fun test1() {
try { // BLOCK
println()
}
catch (e: Throwable){ // BLOCK
println()
}
finally { // BLOCK
println()
}
}
fun test2(): Int {
return try { // BLOCK
println()
42
}
catch (e: Throwable){ // BLOCK
println()
24
}
finally { // BLOCK
println()
555
}
}