yosys/tests/verilog/block_end_label_only.ys

10 lines
208 B
Plaintext

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