artiq/lit-test/test/iodelay/order_invariance.py

11 lines
192 B
Python

# RUN: %python -m artiq.compiler.testbench.signature %s >%t
# RUN: OutputCheck %s --file-to-check=%t
# CHECK-L: g: ()->NoneType delay(2 mu)
def g():
f()
f()
def f():
delay_mu(1)