mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
9 lines
247 B
Kotlin
Vendored
9 lines
247 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
|
|
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"
|
|
}
|