mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
lit-test: add interleaving/pure_impure_tie.
This commit is contained in:
parent
32fe4a8a0c
commit
e53f26dba0
14
lit-test/test/interleaving/pure_impure_tie.py
Normal file
14
lit-test/test/interleaving/pure_impure_tie.py
Normal 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()
|
Loading…
Reference in New Issue
Block a user