blob: 9b1eab0d05a753004500d80b61c6443e29233d8c [file]
// !CHECK_TYPE
operator fun Int.component1() = "a"
fun foo(a: Number) {
val (x) = a as Int
checkSubtype<Int>(<!DEBUG_INFO_SMARTCAST!>a<!>)
checkSubtype<String>(x)
}