blob: 607ddbfc69f15b248bfb0b4ad65af0c4791dcecc [file] [log] [blame]
fun foo(x: Int): String {
return when (val y = x) {
101 -> "1"
102 -> "2"
103 -> "3"
else -> "else"
}
}
// 0 LOOKUPSWITCH
// 1 TABLESWITCH