yosys/tests/verilog/gen_block_end_label_only.ys

10 lines
215 B
Plaintext
Raw Permalink Normal View History

logger -expect error "Begin label missing where end label \(incorrect_name\) was given\." 1
read_verilog -sv <<EOF
module top;
if (1)
begin
initial $display("HI");
end : incorrect_name
endmodule
EOF