artiq/lit-test/test/integration/locals.py

8 lines
110 B
Python

# RUN: %python -m artiq.compiler.testbench.jit %s
# RUN: %python %s
x = 1
assert x == 1
x += 1
assert x == 2