mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-12 21:26:37 +08:00
15 lines
279 B
Python
15 lines
279 B
Python
# RUN: %python -m artiq.compiler.testbench.inferencer %s >%t
|
|
# RUN: OutputCheck %s --file-to-check=%t
|
|
|
|
class c:
|
|
a = 1
|
|
def f():
|
|
pass
|
|
|
|
# CHECK-L: c:<constructor c {a: int(width='a), f: ()->NoneType}>
|
|
c
|
|
# CHECK-L: .a:int(width='a)
|
|
c.a
|
|
# CHECK-L: .f:()->NoneType
|
|
c.f
|