238cc7c257
143 out of 767 tests (18.6%) are currently failing.
14 lines
259 B
Kotlin
Vendored
14 lines
259 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
fun foo(x : String) : String {
|
|
assert("abz]".hashCode() == "aby|".hashCode())
|
|
|
|
when (x) {
|
|
"abz]", "cde" -> return "abz_cde"
|
|
"aby|", "ghi" -> return "aby_ghi"
|
|
}
|
|
|
|
return "other"
|
|
}
|
|
|
|
// 1 LOOKUPSWITCH
|