238cc7c257
143 out of 767 tests (18.6%) are currently failing.
14 lines
232 B
Kotlin
Vendored
14 lines
232 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
const val y = "cde"
|
|
|
|
fun foo(x : String) : String {
|
|
when (x) {
|
|
"abc", "${y}" -> return "abc_cde"
|
|
"e" + "fg", "ghi" -> return "efg_ghi"
|
|
}
|
|
|
|
return "other"
|
|
}
|
|
|
|
// 1 LOOKUPSWITCH
|