mirror of
https://github.com/zachjs/sv2v.git
synced 2026-08-31 01:34:16 +02:00
8 lines
254 B
Systemverilog
8 lines
254 B
Systemverilog
// pattern: couldn't find field 'y' from struct definition struct packed \{..logic x;..logic y;.\} in struct pattern '\{..x: 1.\}
|
|
// location: struct_missing_field.sv:4:5
|
|
module top;
|
|
struct packed {
|
|
logic x, y;
|
|
} s = '{ x: 1 };
|
|
endmodule
|