Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
49b2ac1b100c5042a0e98582713938062efa6a31
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
disabledOptimizations
/
noJumpInLastBranch.kt
blob: 61f22d5876d0d734495cad9292e8c627b9e28859 [
file
] [
log
] [
blame
]
// KOTLIN_CONFIGURATION_FLAGS: +JVM.DISABLE_OPTIMIZATION
fun consume
(
i
:
Int
)
{}
fun foo
(
a
:
String
)
{
var
b
=
1
if
(
a
[
1
]
==
'b'
)
{
b
=
2
}
else
if
(
a
[
0
]
==
'a'
)
{
b
=
3
}
consume
(
b
)
}
// 1 GOTO
// 2 IF