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

18 lines
229 B
Kotlin
Vendored

const val M = Char.MAX_VALUE
fun f(a: Char): Int {
var n = 0
for (i in a until M) {
n++
}
return n
}
// 0 iterator
// 0 getStart
// 0 getEnd
// 0 getFirst
// 0 getLast
// 0 getStep
// 1 IF_ICMPGE
// 1 IF