mirror of
https://github.com/zachjs/sv2v.git
synced 2026-08-30 09:28:12 +02:00
8 lines
248 B
Systemverilog
8 lines
248 B
Systemverilog
// pattern: pattern '\{..x: 1,..y: 2.\} has extra named fields \["y"\] that are not in struct packed \{..logic x;.\}
|
|
// location: struct_extra_named_field.sv:4:5
|
|
module top;
|
|
struct packed {
|
|
logic x;
|
|
} x = '{ x: 1, y: 2 };
|
|
endmodule
|