Files
kotlin/compiler/testData/codegen/bytecodeText/forLoop/forInUntil.kt
2019-04-04 09:07:19 +02:00

16 lines
228 B
Kotlin
Vendored

fun test(a: Int, b: Int): Int {
var sum = 0
for (i in a until b) {
sum = sum * 10 + i
}
return sum
}
// 0 iterator
// 0 getStart
// 0 getEnd
// 0 getFirst
// 0 getLast
// 0 getStep
// 1 IF_ICMPGE
// 1 IF