1 2 3 4 5 6 7 8 9 10 11 12 13
module A; initial begin struct { int a; shortint b; } x; int y; y = x.a; y = x.b; x.a = 42; x.b = 42; end endmodule