Files
sv2v/test/error/end_label_block_wrong.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
140 B
Systemverilog

// pattern: element "yes" has mismatched end label "no"
module top;
initial begin : yes
$display("Hi!");
end : no
endmodule