forked from M-Labs/artiq
1
0
Fork 0
artiq/lit-test/test/codegen/error_illegal_builtin.py

6 lines
211 B
Python
Raw Normal View History

# RUN: %python -m artiq.compiler.testbench.signature +diag %s >%t
# RUN: OutputCheck %s --file-to-check=%t
# CHECK-L: ${LINE:+1}: error: builtin function 'watchdog' cannot be used in this context
watchdog(1.0)