12 lines
224 B
Kotlin
Vendored
12 lines
224 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
fun box(): String {
|
|
val a = FloatArray(5)
|
|
val x = a.iterator()
|
|
var i = 0
|
|
while (x.hasNext()) {
|
|
if (a[i] != x.next()) return "Fail $i"
|
|
i++
|
|
}
|
|
return "OK"
|
|
}
|