2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

Commit missing parts of e4615e7.

This commit is contained in:
whitequark 2015-12-21 08:01:56 +08:00
parent 183e855229
commit d1a5ec27b1
2 changed files with 6 additions and 9 deletions

View File

@ -1,9 +0,0 @@
# RUN: %python -m artiq.compiler.testbench.signature +diag %s >%t
# RUN: OutputCheck %s --file-to-check=%t
# CHECK-L: ${LINE:+1}: error: the type of this expression cannot be fully inferred
x = int(1)
# CHECK-L: ${LINE:+1}: error: the return type of this function cannot be fully inferred
def fn():
return int(1)

View File

@ -3,3 +3,9 @@
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)