Files
sv2v/test/error/struct_extra_unnamed_field.sv

8 lines
232 B
Systemverilog
Raw Permalink Normal View History

2021-03-09 14:18:37 -05:00
// pattern: pattern '\{..1,..2.\} doesn't have the same number of items as struct packed \{..logic x;.\}
2021-10-17 21:40:12 -06:00
// location: struct_extra_unnamed_field.sv:4:5
2021-03-09 14:18:37 -05:00
module top;
struct packed {
logic x;
} x = '{ 1, 2 };
endmodule