blob: 5a5db2ee401bea4d9c4cc09558b3fde899e36e9b [file] [log] [blame]
// OPTION: 1
fun foo(n: Int): Int {
try {
n / 0
}
catch (e: ArithmeticException) {
val m = -1
m
}
catch (e: Exception) {
-2
}
<caret>finally {
println("finally")
}
return 0
}