mirror of
https://github.com/zachjs/sv2v.git
synced 2026-08-31 09:44:27 +02:00
10 lines
214 B
Systemverilog
10 lines
214 B
Systemverilog
// pattern: field 'y' not found in struct packed \{..logic x;.\}
|
|
// location: struct_unknown_field.sv:8:5
|
|
module top;
|
|
struct packed {
|
|
logic x;
|
|
} x;
|
|
assign x.x = 1;
|
|
assign x.y = 0;
|
|
endmodule
|