Files
kotlin/compiler/testData/codegen/box/deadCodeElimination/intersectingVariableRangeInFinally.kt
Denis Zharkov 9802931a90 Remove variables with empty ranges from local vars table
As their ranges may intersect after dead code elimination that leads to VerifyError
2015-06-04 16:11:02 +03:00

13 lines
182 B
Kotlin
Vendored

fun box(): String {
try {
return "OK"
} finally {
if (1 == 1) {
val z = 2
}
if (3 == 3) {
val z = 4
}
}
}