16 lines
255 B
Kotlin
Vendored
16 lines
255 B
Kotlin
Vendored
fun f(): Int {
|
|
try {
|
|
return 0
|
|
}
|
|
finally {
|
|
try { // culprit ?? remove this try-catch and it works.
|
|
} catch (ignore: Exception) {
|
|
}
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
if (f() != 0) return "fail1"
|
|
|
|
return "OK"
|
|
} |