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