mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 00:21:32 +00:00
9 lines
191 B
Kotlin
Vendored
9 lines
191 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
data class A(val x: Int) {
|
|
override fun equals(other: Any?): Boolean = false
|
|
}
|
|
|
|
fun box(): String {
|
|
val a = A(0)
|
|
return if (a.equals(a)) "fail" else "OK"
|
|
} |