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

7 lines
92 B
Python

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