blob: 0db73c4165732f0684bf80c39aa3e2a984f3277c [file]
// RUN_PIPELINE_TILL: CODEGEN
// ISSUE: KT-57893
// MODULE: main
internal class A {
val x: String? = null
}
class B {
internal val x: String? = null
}
class C {
val x: String? = null
}
// MODULE: test()(main)
internal fun test(a: A, b: B, c: C) {
if (a.x != null) {
a.x.length
}
if (b.x != null) {
b.x.length
}
if (c.x != null) {
c.x.length
}
}
/* GENERATED_FIR_TAGS: classDeclaration, equalityExpression, functionDeclaration, ifExpression, nullableType,
propertyDeclaration, smartcast */