blob: 326501f516538516fc9475d9ba2d88b390db5611 [file] [log] [blame]
// !CHECK_TYPE
fun foo(x: Number) {
if (<!USELESS_IS_CHECK!>(x as Int) is Int<!>) {
checkSubtype<Int>(x)
}
checkSubtype<Int>(x)
}