blob: e51e1f16fb4e404cbdbdf81bb7d7f84af30d369a [file]
// RUN_PIPELINE_TILL: CODEGEN
class A {
fun test() {
val a: A
synchronized(this) {
if (bar()) throw RuntimeException()
a = A()
}
a.bar()
}
fun bar() = false
}
/* GENERATED_FIR_TAGS: assignment, classDeclaration, functionDeclaration, ifExpression, lambdaLiteral, localProperty,
propertyDeclaration, thisExpression */