iverilog/ivtest/ivltests/union_packed_uarray_fail.v

16 lines
217 B
Verilog

// Check that declaring an unpacked array typed member in a packed union is an
// error.
module test;
struct packed {
int x;
shortint y[2];
} s;
initial begin
$display("FAILED");
end
endmodule