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

fun zero() = 0

fun box(): String {
    assertFailsWith<IllegalArgumentException> {
        for (i in 1u until 7u step zero()) {
        }
    }

    assertFailsWith<IllegalArgumentException> {
        for (i in 1uL until 7uL step zero().toLong()) {
        }
    }

    return "OK"
}