artiq/lit-test/test/integration/list.py
whitequark 862ac1f90d lit-test/compiler -> lit-test/test.
Other directories in lit-test will host various parts of
the test harness.
2015-07-27 04:13:29 +03:00

9 lines
165 B
Python

# RUN: %python -m artiq.compiler.testbench.jit %s
# RUN: %python %s
[x, y] = [1, 2]
assert (x, y) == (1, 2)
lst = [1, 2, 3]
assert [x*x for x in lst] == [1, 4, 9]