Files
kotlin/compiler/testData/codegen/bytecodeText/forLoop/unsigned/forInDownToUIntMinValue.kt
2020-05-13 13:54:35 +02:00

19 lines
279 B
Kotlin
Vendored

// WITH_RUNTIME
const val M = UInt.MIN_VALUE
fun f(a: UInt): Int {
var n = 0
for (i in a downTo M) {
n++
}
return n
}
// 0 iterator
// 0 getStart
// 0 getEnd
// 0 getFirst
// 0 getLast
// 0 getStep
// 1 INVOKESTATIC kotlin/UnsignedKt.uintCompare
// 2 IF