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