blob: 36cf68070df9e0c3beb8362a81d3e751573a9cca [file]
// RUN_PIPELINE_TILL: CODEGEN
fun foo(arg: Boolean) {
val x : Int
if (arg) {
x = 4
} else {
x = 2
}
x.hashCode()
class Local {
fun bar() {
x.hashCode()
}
}
fun local(): Int {
return x.hashCode()
}
}
/* GENERATED_FIR_TAGS: assignment, classDeclaration, functionDeclaration, ifExpression, integerLiteral, localClass,
localFunction, localProperty, propertyDeclaration */