Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f7ff397a310cd4d47fc4849043f8c9d47412e512
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
when
/
integralWhenWithNoInlinedConstants.kt
blob: 5f47c3e0fcca896b2635e10515baff19595242cf [
file
]
// IGNORE_BACKEND: JVM_IR
fun foo1
(
x
:
Int
):
Boolean
{
when
(
x
)
{
2
+
2
->
return
true
else
->
return
false
}
}
fun foo2
(
x
:
Int
):
Boolean
{
when
(
x
)
{
Integer
.
MAX_VALUE
->
return
true
else
->
return
false
}
}
// 2 TABLESWITCH