Files
kotlin/compiler/testData/codegen/dataClasses/equals/genericarray.kt
2012-09-17 18:48:17 +03:00

6 lines
124 B
Kotlin

data class A(val v: Array<Int>)
fun box() : String {
if(A(array(0,1,2)) != A(array(0,1,2))) return "fail"
return "OK"
}