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