// Check that it is an error to provide more elements in a struct assignment // pattern than there are members in the struct. module test; struct packed { int x; shortint y; byte z; } x = '{1, 2, 3, 4}; // This should fail. More elements than required. initial begin $display("FAILED"); end endmodule