Files
kotlin-fork/compiler/testData/codegen/boxWithStdlib/regressions/kt789.kt
T
Ilya Gorbunov 2257fa36ec Drop deprecations: text and system
Fix import in testData
Fix testData: replace removed method.
2016-01-22 05:54:38 +03:00

11 lines
197 B
Kotlin
Vendored

package foo
import java.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"
}