// Auto-generated by GenerateSteppedRangesCodegenTestData. Do not edit!
// WITH_STDLIB
// LANGUAGE: +RangeUntilOperator
@file:OptIn(ExperimentalStdlibApi::class)
import kotlin.test.*

fun box(): String {
    assertFailsWith<IllegalArgumentException> {
        for (i in 1..<8 step 2 step 0) {
        }
    }

    assertFailsWith<IllegalArgumentException> {
        for (i in 1L..<8L step 2L step 0L) {
        }
    }

    assertFailsWith<IllegalArgumentException> {
        for (i in 'a'..<'h' step 2 step 0) {
        }
    }

    return "OK"
}