// !CHECK_TYPE fun ifThen(x: Int?) { if (x!! == 0) { checkSubtype(x) } checkSubtype(x) } fun ifElse(x: Int?) { if (x!! == 0) else { checkSubtype(x) } checkSubtype(x) } fun ifThenElse(x: Int?) { if (x!! == 0) { checkSubtype(x) } else { checkSubtype(x) } checkSubtype(x) } fun ifIs(x: Int?, cond: Boolean) { if ((x is Int) == cond) { checkSubtype(x) } checkSubtype(x) }