2021-03-09 14:18:37 -05:00
|
|
|
// pattern: couldn't find field 'y' from struct definition struct packed \{..logic x;..logic y;.\} in struct pattern '\{..x: 1.\}
|
2021-10-17 21:40:12 -06:00
|
|
|
// location: struct_missing_field.sv:4:5
|
2021-03-09 14:18:37 -05:00
|
|
|
module top;
|
|
|
|
|
struct packed {
|
|
|
|
|
logic x, y;
|
|
|
|
|
} s = '{ x: 1 };
|
|
|
|
|
endmodule
|