2015-11-24 00:21:53 +08:00
|
|
|
# RUN: %python -m artiq.compiler.testbench.jit %s >%t
|
|
|
|
# RUN: OutputCheck %s --file-to-check=%t
|
|
|
|
|
|
|
|
def f():
|
|
|
|
delay_mu(2)
|
|
|
|
|
|
|
|
def g():
|
2016-02-22 21:24:43 +08:00
|
|
|
with interleave:
|
2015-11-24 00:21:53 +08:00
|
|
|
f()
|
|
|
|
delay_mu(2)
|
|
|
|
print(now_mu())
|
|
|
|
|
|
|
|
# CHECK-L: 2
|
|
|
|
g()
|