forked from M-Labs/artiq
lit-test: add test for iodelay order invariance.
This commit is contained in:
parent
3fb12b74d6
commit
80f0bfe0ad
|
@ -0,0 +1,10 @@
|
||||||
|
# RUN: %python -m artiq.compiler.testbench.signature %s >%t
|
||||||
|
# RUN: OutputCheck %s --file-to-check=%t
|
||||||
|
|
||||||
|
# CHECK-L: g: ()->NoneType delay(s->mu(2.0) mu)
|
||||||
|
def g():
|
||||||
|
f()
|
||||||
|
f()
|
||||||
|
|
||||||
|
def f():
|
||||||
|
delay(1.0)
|
Loading…
Reference in New Issue