blob: 18a73705a72cf1a40bef14e1d08a60f55d4eac83 [file]
// RUN_PIPELINE_TILL: BACKEND
fun fn(c: Char?): Any? =
if (c == null) TODO()
else when (c) {
'a' -> when (c) {
'B' -> 1
'C' -> "sdf"
else -> TODO()
}
else -> TODO()
}
/* GENERATED_FIR_TAGS: equalityExpression, functionDeclaration, ifExpression, integerLiteral, nullableType, smartcast,
stringLiteral, whenExpression, whenWithSubject */