artiq/lit-test/test/monomorphism/integers.py

12 lines
220 B
Python
Raw Normal View History

# RUN: %python -m artiq.compiler.testbench.signature %s >%t
2015-07-03 02:28:26 +08:00
# RUN: OutputCheck %s --file-to-check=%t
x = 1
# CHECK-L: x: int(width=32)
2015-12-21 08:01:56 +08:00
y = int(1)
# CHECK-L: y: int(width=32)
z = round(1.0)
# CHECK-L: z: int(width=32)