blob: 35242c964795eb901fe05fc5f637029740c6a025 [file]
// WITH_STDLIB
// TARGET_BACKEND: JVM
fun foo() {
val result = Result.success("yes!")
val other = Result.success("nope")
result == other
result != other
result.equals(other)
!result.equals(other)
}
// CHECK_BYTECODE_TEXT
// 0 INVOKESTATIC kotlin/Result.box-impl
// 4 INVOKESTATIC kotlin/Result.equals-impl0