blob: c478c9219ecc36efe515578fc1f6ae913ec2d733 [file] [log] [blame]
// LANGUAGE_VERSION: 1.0
const val y = "cde"
fun foo(x : String) : String {
when (x) {
"abc", "${y}" -> return "abc_cde"
"e" + "fg", "ghi" -> return "efg_ghi"
}
return "other"
}
// 0 LOOKUPSWITCH