1b553ebfaf
Added tests from testData/codegen/box directory. There are blackbox tests in other directories and they are to be added.
16 lines
255 B
Kotlin
16 lines
255 B
Kotlin
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"
|
|
} |