forked from M-Labs/artiq
1
0
Fork 0
artiq/lit-test/test/iodelay/goto.py

15 lines
314 B
Python
Raw Normal View History

# RUN: %python -m artiq.compiler.testbench.signature %s >%t
# RUN: OutputCheck %s --file-to-check=%t
# CHECK-L: f: ()->NoneType delay(10 mu)
def f():
delay_mu(10)
for _ in range(10):
break
# CHECK-L: g: ()->NoneType delay(10 mu)
def g():
delay_mu(10)
for _ in range(10):
continue