blob: d7cc549d8d5b4785baa1297227d841e074aa87c5 [file]
// RUN_PIPELINE_TILL: BACKEND
fun test(loop: Boolean) {
while (loop) {
try {
do {
run<Unit> {
val a: String
if (loop) {
a = ""
} else {
a = ""
}
}
} while (loop)
} catch (e: Exception) {
}
}
}
/* GENERATED_FIR_TAGS: assignment, doWhileLoop, functionDeclaration, ifExpression, lambdaLiteral, localProperty,
propertyDeclaration, stringLiteral, tryExpression, whileLoop */