mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
9 lines
188 B
Kotlin
Vendored
9 lines
188 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
data class A(val a: Boolean)
|
|
|
|
fun box() : String {
|
|
if (A(true).hashCode() != 1) return "fail1"
|
|
if (A(false).hashCode() !=0) return "fail2"
|
|
return "OK"
|
|
}
|