blob: a025f9724a5fa284e3e48589e1099b91a08f9f1b [file]
// CHECK_TYPE
fun foo(x: Number): Boolean {
val result = (x as Int) in 1..5
checkSubtype<Int>(<!DEBUG_INFO_SMARTCAST!>x<!>)
return result
}