Files
sv2v/test/error/end_label_gen_block_only.sv
Zachary Snow c0cb401abe fix handling of end labels
- disallow using end label alone on blocks
- improved parse error for mismatches
- add label checking for non-block constructs
- allow generate block to have label before begin
2021-06-15 17:47:32 -04:00

7 lines
110 B
Systemverilog

// pattern: block has only end label "no"
module top;
if (1) begin
wire x;
end : no
endmodule