mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-27 12:18:26 +08:00
13 lines
271 B
Python
13 lines
271 B
Python
# RUN: %python -m artiq.compiler.testbench.signature %s >%t
|
|
# RUN: OutputCheck %s --file-to-check=%t
|
|
|
|
# CHECK-L: f: ()->NoneType delay(1001000 mu)
|
|
def f():
|
|
delay(1.0)
|
|
delay_mu(1000)
|
|
|
|
# CHECK-L: g: ()->NoneType delay(3 mu)
|
|
def g():
|
|
delay_mu(1)
|
|
delay_mu(2)
|