Files
kotlin-fork/compiler/testData/codegen/boxWithStdlib/dataClasses/hashcode/boolean.kt
T

6 lines
134 B
Kotlin
Vendored

data class A(val a: Boolean)
fun box() : String {
return if( A(true).hashCode()==1 && A(false).hashCode()==0 ) "OK" else "fail"
}