Files
kotlin-fork/compiler/testData/codegen/boxWithStdlib/regressions/kt789.kt
T
2013-02-11 02:01:40 +04:00

13 lines
219 B
Kotlin

package foo
import java.util.*;
import kotlin.util.*
fun box() : String {
val a = ArrayList<Int>();
a.add(1)
a.add(2)
return if((a.size == 2) && (a.get(1) == 2) && (a.get(0) == 1)) "OK" else "fail"
}