14 lines
316 B
Kotlin
Vendored
14 lines
316 B
Kotlin
Vendored
// !API_VERSION: 1.3
|
|
// IGNORE_BACKEND: JVM_IR
|
|
// WITH_RUNTIME
|
|
// FILE: test.kt
|
|
fun test() {
|
|
val result = Result.success("yes!")
|
|
val other = Result.success("nope")
|
|
if (result == other) println("==")
|
|
if (result != other) println("!=")
|
|
}
|
|
|
|
// @TestKt.class:
|
|
// 0 INVOKESTATIC kotlin/Result.equals-impl0
|