Files
kotlin-fork/compiler/testData/codegen/box/arrays/kt4357.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

8 lines
197 B
Kotlin
Vendored

fun box(): String {
val array = intArrayOf(11, 12, 13)
val p = array.get(0)
if (p != 11) return "fail 1: $p"
val stringArray = arrayOf("OK", "FAIL")
return stringArray.get(0)
}