Files
sv2v/test/error/struct_invalid_key.sv

8 lines
191 B
Systemverilog
Raw Permalink Normal View History

2021-06-20 15:30:21 -04:00
// pattern: invalid pattern key -1 is not a type, field name, or index
2021-10-17 21:40:12 -06:00
// location: struct_invalid_key.sv:4:5
2021-06-20 15:30:21 -04:00
module top;
struct packed {
logic x;
} s = '{ -1: 1 };
endmodule