forked from M-Labs/artiq
1
0
Fork 0

lit-test: add interleaving/pure_impure_tie.

This commit is contained in:
whitequark 2015-11-24 00:21:53 +08:00
parent 32fe4a8a0c
commit e53f26dba0
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
# 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()