// !CHECK_TYPE 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?) val s = "" as Any ("" as String?)?.length (data@("" as String?))?.length (@MustBeDocumented()( "" as String?))?.length Unit }