blob: 30f86f4122083b70a78ac9bc7923aac4b26b7142 [file]
// RUN_PIPELINE_TILL: FRONTEND
// ISSUE: KT-42995
fun test() {
val a: Int
try {
run {
a = 1
a.inc()
throw Exception("hmm")
}
} catch (e: Exception) {
a = 2
a.inc()
}
}
/* GENERATED_FIR_TAGS: assignment, functionDeclaration, integerLiteral, lambdaLiteral, localProperty,
propertyDeclaration, stringLiteral, tryExpression */