// Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit!
// WITH_STDLIB
import kotlin.test.*

fun box(): String {
    val intList = mutableListOf<Int>()
    for (i in Int.MAX_VALUE downTo 0 step Int.MAX_VALUE) {
        intList += i
    }
    assertEquals(listOf(Int.MAX_VALUE, 0), intList)

    val longList = mutableListOf<Long>()
    for (i in Long.MAX_VALUE downTo 0L step Long.MAX_VALUE) {
        longList += i
    }
    assertEquals(listOf(Long.MAX_VALUE, 0L), longList)

    val charList = mutableListOf<Char>()
    for (i in Char.MAX_VALUE downTo 0.toChar() step Char.MAX_VALUE.toInt()) {
        charList += i
    }
    assertEquals(listOf(Char.MAX_VALUE, 0.toChar()), charList)

    return "OK"
}