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

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

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

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

    return "OK"
}