Files
kotlin/compiler/testData/codegen/box/arrays/forEachDoubleArray.kt
2018-09-18 14:36:20 +03:00

7 lines
124 B
Kotlin
Vendored

fun box(): String {
for (x in DoubleArray(5)) {
if (x != 0.toDouble()) return "Fail $x"
}
return "OK"
}