// 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 0 step 2) {
        }
    }

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

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

    return "OK"
}