mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-05 09:46:36 +08:00
13 lines
228 B
Python
13 lines
228 B
Python
|
# RUN: %python -m artiq.compiler.testbench.signature %s >%t
|
||
|
# RUN: OutputCheck %s --file-to-check=%t
|
||
|
|
||
|
# CHECK-L: g: ()->NoneType delay(s->mu(1.0) mu)
|
||
|
def g(i):
|
||
|
i.f(1.0)
|
||
|
|
||
|
class c:
|
||
|
def f(self, x):
|
||
|
delay(x)
|
||
|
|
||
|
g(c())
|