Files
kotlin-fork/compiler/testData/codegen/box/arrays/kt945.kt
T
Alexander Udalov 20e36438e2 Move some tests from boxWithStdlib/ to box/
Move those tests which do not require neither stdlib nor reflect
2016-03-09 10:25:38 +03:00

10 lines
217 B
Kotlin
Vendored

fun box() : String {
val data = Array<Array<Boolean>>(3) { Array<Boolean>(4, {false}) }
for(d in data) {
if(d.size != 4) return "fail"
for(b in d) if (b) return "fail"
}
return "OK"
}