mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
15 lines
314 B
Python
15 lines
314 B
Python
|
# 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
|