2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-11 12:46:37 +08:00
artiq/lit-test/test/monomorphism/integers.py
2015-12-21 08:02:04 +08:00

12 lines
220 B
Python

# RUN: %python -m artiq.compiler.testbench.signature %s >%t
# RUN: OutputCheck %s --file-to-check=%t
x = 1
# CHECK-L: x: int(width=32)
y = int(1)
# CHECK-L: y: int(width=32)
z = round(1.0)
# CHECK-L: z: int(width=32)