blob: ec1f2d1523d6c3ff4fc0a953e6c7530feb5a2637 [file]
// RUN_PIPELINE_TILL: CODEGEN
// DIAGNOSTICS: -UNUSED_PARAMETER
fun foo(arg: Int?) {
run {
var x = arg
while (x != null) {
x = x.hashCode()
if (x == 0) x = null
}
}
}
/* GENERATED_FIR_TAGS: assignment, equalityExpression, functionDeclaration, ifExpression, integerLiteral, lambdaLiteral,
localProperty, nullableType, propertyDeclaration, smartcast, whileLoop */