artiq/lit-test/compiler/integration/attribute.py

7 lines
124 B
Python

# RUN: %python -m artiq.compiler.testbench.jit %s
r = range(10)
assert r.start == 0
assert r.stop == 10
assert r.step == 1