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

8 lines
150 B
Kotlin
Vendored

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