diff options
Diffstat (limited to 'tests/verilog/unmatched_else.ys')
-rw-r--r-- | tests/verilog/unmatched_else.ys | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/verilog/unmatched_else.ys b/tests/verilog/unmatched_else.ys new file mode 100644 index 000000000..413f413c3 --- /dev/null +++ b/tests/verilog/unmatched_else.ys @@ -0,0 +1,6 @@ +logger -expect error "Found `else outside of macro conditional branch!" 1 +read_verilog <<EOT +module top; +`else +endmodule +EOT |