Files
kotlin-fork/j2k/tests/testData/ast/list/Lists.kt
T
Pavel V. Talanov 741e031ff1 Converter:
Use formatter in converter tests
Reformat test data
2013-12-22 16:46:51 +04:00

14 lines
354 B
Kotlin

import java.util.*
public open class Lists() {
public open fun test() {
var xs: MutableList<Any?>? = ArrayList<Any?>()
var ys: MutableList<Any?>? = LinkedList<Any?>()
var zs: ArrayList<Any?>? = ArrayList<Any?>()
xs?.add(null)
ys?.add(null)
xs?.clear()
ys?.clear()
zs?.add(null)
}
}