9 lines
147 B
Kotlin
Vendored
9 lines
147 B
Kotlin
Vendored
// !CHECK_TYPE
|
|
|
|
fun foo(arr: Array<Int>?) {
|
|
for (x in arr!!) {
|
|
checkSubtype<Array<Int>>(arr)
|
|
}
|
|
checkSubtype<Array<Int>>(arr)
|
|
}
|