2021-09-28 05:51:53 +02:00
|
|
|
// pattern: illegal access to bit 0 of s\.x, which has type logic
|
2021-10-18 05:40:12 +02:00
|
|
|
// location: struct_logic_bit.sv:7:13
|
2021-09-28 05:51:53 +02:00
|
|
|
module top;
|
|
|
|
|
struct packed {
|
|
|
|
|
logic x;
|
|
|
|
|
} s;
|
|
|
|
|
initial s.x[0] = 1;
|
|
|
|
|
endmodule
|