// RUN_PIPELINE_TILL: BACKEND
fun foo() {
    class My {
        val x: Int
        init {
            var y: Int?
            y = 42
            x = <!DEBUG_INFO_SMARTCAST!>y<!>.hashCode()
        }
    }
}

/* GENERATED_FIR_TAGS: assignment, classDeclaration, functionDeclaration, init, integerLiteral, localClass,
localProperty, nullableType, propertyDeclaration, smartcast */
