// RUN_PIPELINE_TILL: BACKEND
// DUMP_CFG

fun stringReturnInLeftLen(s : String?) : Int {
    // this shouldn't trigger NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY
    val s1 = (if (s != null) { return s.length } else { null }) ?: return 0
}

/* GENERATED_FIR_TAGS: elvisExpression, equalityExpression, functionDeclaration, ifExpression, integerLiteral,
localProperty, nullableType, propertyDeclaration, smartcast */
