Files
sv2v/test/error/end_label_task_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

6 lines
109 B
Systemverilog

// pattern: element "yes" has mismatched end label "no"
module top;
task yes;
endtask : no
endmodule