2021-03-09 20:18:37 +01:00
|
|
|
// pattern: field 'y' not found in struct packed \{..logic x;.\}
|
2021-10-18 05:40:12 +02:00
|
|
|
// location: struct_unknown_field.sv:8:5
|
2021-03-09 20:18:37 +01:00
|
|
|
module top;
|
|
|
|
|
struct packed {
|
|
|
|
|
logic x;
|
|
|
|
|
} x;
|
|
|
|
|
assign x.x = 1;
|
|
|
|
|
assign x.y = 0;
|
|
|
|
|
endmodule
|