sv2v/test/error/struct_out_of_bounds_neg.sv

7 lines
164 B
Systemverilog

// pattern: pattern index -1 is out of bounds for struct packed \{..logic x;.\}
module top;
struct packed {
logic x;
} s = '{ 1'sb1: 1 };
endmodule