Files
kotlin/compiler/testData/codegen/box/arrays/forEachFloatArray.kt
2019-11-19 11:00:09 +03:00

8 lines
152 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
fun box(): String {
for (x in FloatArray(5)) {
if (x != 0.toFloat()) return "Fail $x"
}
return "OK"
}