diff options
Diffstat (limited to 'tests/verilog/unmatched_endif_2.ys')
-rw-r--r-- | tests/verilog/unmatched_endif_2.ys | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/verilog/unmatched_endif_2.ys b/tests/verilog/unmatched_endif_2.ys new file mode 100644 index 000000000..2ee084170 --- /dev/null +++ b/tests/verilog/unmatched_endif_2.ys @@ -0,0 +1,7 @@ +logger -expect error "Found `endif outside of macro conditional branch!" 1 +read_verilog <<EOF +`ifndef a +`else +`endif +`endif +EOF |