mirror of https://github.com/m-labs/artiq.git
15 lines
458 B
Python
15 lines
458 B
Python
# RUN: %python -m artiq.compiler.testbench.inferencer +diag %s >%t
|
|
# RUN: OutputCheck %s --file-to-check=%t
|
|
|
|
# CHECK-L: ${LINE:+1}: error: the argument of len() must be of an iterable type
|
|
len(1)
|
|
|
|
# CHECK-L: ${LINE:+1}: error: the argument of list() must be of an iterable type
|
|
list(1)
|
|
|
|
# CHECK-L: ${LINE:+1}: error: the arguments of min() must be of a numeric type
|
|
min([1], [1])
|
|
|
|
# CHECK-L: ${LINE:+1}: error: strings currently cannot be constructed
|
|
str(1)
|