mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
6 lines
134 B
Kotlin
6 lines
134 B
Kotlin
data class A(val a: Boolean)
|
|
|
|
fun box() : String {
|
|
return if( A(true).hashCode()==1 && A(false).hashCode()==0 ) "OK" else "fail"
|
|
}
|