Files
kotlin-fork/compiler/testData/codegen/box/regressions/kt789.kt
T
2018-06-09 19:15:38 +03:00

10 lines
201 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR
package foo
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"
}