split diagnostics/alt-headers test
This commit is contained in:
@@ -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>
|
||||
}
|
||||
Reference in New Issue
Block a user