mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
9 lines
192 B
Kotlin
Vendored
9 lines
192 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: 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"
|
|
}
|