mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-09-03 06:03:11 +02:00
Check that a packed struct or union with an unpacked array, dynamic array or queue as a member is detected as an error. Signed-off-by: Lars-Peter Clausen <[email protected]>
15 lines
190 B
Verilog
15 lines
190 B
Verilog
// Check that declaring a queue typed member in a packed union is an
|
|
// error.
|
|
|
|
module test;
|
|
|
|
union packed {
|
|
int x[$];
|
|
} s;
|
|
|
|
initial begin
|
|
$display("FAILED");
|
|
end
|
|
|
|
endmodule
|