split diagnostics/alt-headers test

This commit is contained in:
Stepan Koltsov
2012-01-31 22:22:39 +04:00
parent f3f725c94f
commit c88940c07c
3 changed files with 22 additions and 2 deletions
@@ -0,0 +1,12 @@
// +JDK
package std1
import java.util.*
fun main(args : Array<String>) {
val al : ArrayList<Int> = ArrayList<Int>
// A type mismatch on this line means that alt-headers were not loaded
al.toArray(Array<Int>(3, {1})) : Array<Int>
}