Files
kotlin-fork/compiler/testData/diagnostics/tests/alt-headers/ArrayListClone.jet
T
2012-01-31 22:22:39 +04:00

11 lines
218 B
Plaintext

// +JDK
package std1
import java.util.*
fun main(args : Array<String>) {
val al : ArrayList<Int> = ArrayList<Int>
al.clone() : Object // A type mismatch on this line means that alt-headers were not loaded
}