blob: 2cae68c397491941a5ee1dff3de717ad3b6add8d [file]
// RUN_PIPELINE_TILL: FRONTEND
class C {
fun foo() {}
}
fun test(a: C?, nn: () -> Nothing?) {
a ?: nn()
a<!UNSAFE_CALL!>.<!>foo()
a ?: return
a.foo()
}
/* GENERATED_FIR_TAGS: classDeclaration, elvisExpression, functionDeclaration, functionalType, nullableType, smartcast */