blob: 2d9bbfa6f07e3107a6458fb8fd41fd69950f6f68 [file]
// RUN_PIPELINE_TILL: CODEGEN
fun f() {
var foo = 1
try {
foo = 2
throw RuntimeException()
} catch (e: Throwable) {
foo.hashCode()
}
throw Exception()
}
fun g() {
var foo = 1
try {
foo = 2
f()
} catch (e: Throwable) {
foo.hashCode()
}
}
fun h() {
try {
}
finally {
var foo = 1
try {
foo = 2
g()
}
catch (e: Throwable) {
foo.hashCode()
}
}
}
/* GENERATED_FIR_TAGS: assignment, functionDeclaration, integerLiteral, localProperty, propertyDeclaration,
tryExpression */