Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
whenEnumOptimization
/
whenOr.kt
blob: c701b5c8f3865cb18b907089056aa7239bfdbcf2 [
file
] [
log
] [
blame
]
// IGNORE_BACKEND: JVM
fun test
(
x
:
Int
):
String
{
return
when
{
x
==
1
||
x
==
3
||
x
==
5
->
"135"
x
==
2
||
x
==
4
||
x
==
6
->
"246"
else
->
"other"
}
}
// 1 TABLESWITCH