forked from M-Labs/artiq
1
0
Fork 0
artiq/lit-test/test/interleaving/pure_impure_tie.py

15 lines
220 B
Python
Raw Normal View History

# RUN: %python -m artiq.compiler.testbench.jit %s >%t
# RUN: OutputCheck %s --file-to-check=%t
def f():
delay_mu(2)
def g():
with parallel:
f()
delay_mu(2)
print(now_mu())
# CHECK-L: 2
g()