[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// !CHECK_TYPE
|
||||
|
||||
fun foo(arr: Array<out Number>): Int {
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
val result = (arr as Array<Int>)[0]
|
||||
checkSubtype<Array<Int>>(arr)
|
||||
return result
|
||||
}
|
||||
Reference in New Issue
Block a user