// !CHECK_TYPE fun foo(arr: Array): Int { @Suppress("UNCHECKED_CAST") val result = (arr as Array)[0] checkSubtype>(arr) return result }