mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
7 lines
223 B
Kotlin
Vendored
7 lines
223 B
Kotlin
Vendored
data class A(val a: IntArray, var b: Array<String>)
|
|
|
|
fun box() : String {
|
|
if( A(intArrayOf(1,2,3),arrayOf("239")).hashCode() != 31*java.util.Arrays.hashCode(intArrayOf(0,1,2)) + "239".hashCode()) "fail"
|
|
return "OK"
|
|
}
|