blob: 4e574f0a59d65543e40c43ab65aef35581c02734 [file]
// IGNORE_BACKEND_FIR: JVM_IR
enum class Bar {
ONE,
TWO
}
fun isOne(i: Bar) = i == Bar.ONE
fun box(): String {
return when (isOne(Bar.ONE) && !isOne(Bar.TWO)) {
true -> "OK"
else -> "Failure"
}
}