9 lines
128 B
Kotlin
Vendored
9 lines
128 B
Kotlin
Vendored
// !CHECK_TYPE
|
|
|
|
fun foo(x: Number) {
|
|
if ((x as Int) is Int) {
|
|
checkSubtype<Int>(x)
|
|
}
|
|
checkSubtype<Int>(x)
|
|
}
|