// 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 */
