mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 19:28:26 +08:00
15 lines
220 B
Python
15 lines
220 B
Python
|
# 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()
|