forked from M-Labs/artiq
Commit missing parts of e4615e7
.
This commit is contained in:
parent
183e855229
commit
d1a5ec27b1
|
@ -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)
|
|
|
@ -3,3 +3,9 @@
|
||||||
|
|
||||||
x = 1
|
x = 1
|
||||||
# CHECK-L: x: int(width=32)
|
# 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)
|
||||||
|
|
Loading…
Reference in New Issue