Move JdkAnnotationsTest to boxWithStdlib

This commit is contained in:
Alexander Udalov
2013-02-07 22:04:59 +04:00
committed by Alexander Udalov
parent f994c9924f
commit 31231fe18b
6 changed files with 30 additions and 49 deletions
@@ -1,12 +0,0 @@
import java.util.ArrayList
class IntArrayList(): ArrayList<Int>() {
override fun get(index: Int): Int = super.get(index)
}
fun box(): String {
val a = IntArrayList()
a.add(1)
a[0]++
return if (a[0] == 2) "OK" else "fail"
}