Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
when
/
tableSwitchWithSubjectVal.kt
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