This commit is contained in:
Alex Tkachman
2011-11-02 11:41:23 +01:00
parent bfb70330eb
commit 99d19a2f27
3 changed files with 33 additions and 14 deletions
@@ -0,0 +1,6 @@
fun box () : String {
val s = java.util.ArrayList<String>()
s.add("foo")
s[0] += "bar"
return if(s[0] == "foobar") "OK" else "fail"
}