mirror of https://github.com/zachjs/sv2v.git
7 lines
203 B
Systemverilog
7 lines
203 B
Systemverilog
|
|
// pattern: pattern '\{..x: 1,..y: 2.\} has extra named fields \["y"\] that are not in struct packed \{..logic x;.\}
|
||
|
|
module top;
|
||
|
|
struct packed {
|
||
|
|
logic x;
|
||
|
|
} x = '{ x: 1, y: 2 };
|
||
|
|
endmodule
|