struct_invalid_key.sv 191 Bytes
Newer Older
1
// pattern: invalid pattern key -1 is not a type, field name, or index
2
// location: struct_invalid_key.sv:4:5
3 4 5 6 7
module top;
    struct packed {
        logic x;
    } s = '{ -1: 1 };
endmodule