test for KT-789

This commit is contained in:
Alex Tkachman
2011-12-10 09:24:14 +02:00
parent 8ec998810f
commit 9511c31cd9
2 changed files with 16 additions and 0 deletions
@@ -0,0 +1,12 @@
namespace foo
import java.util.*;
import std.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"
}