// FIR_COMPARISON fun checkSubtype(t: T) = t fun test() : Unit { var x : Int? = 0 var y : Int = 0 checkSubtype(x) checkSubtype(y) checkSubtype(x as Int) checkSubtype(y as Int) checkSubtype(x as Int?) checkSubtype(y as Int?) checkSubtype(x as Int?) checkSubtype(y as? Int) checkSubtype(x as? Int?) checkSubtype(y as? Int?) Unit }