~mcf/cc-issues#38:
Handle initialization of multiple union members correctly

union {
    struct {int a, b;};
    struct {int c, d;};
} x = {.a = 1, .d = 2};

should turn into { w 0, w 2 }, even though the locations of x.a and x.d don't overlap.

Status
REPORTED
Submitter
~mcf
Assigned to
No-one
Submitted
7 months ago
Updated
7 months ago
Labels
bug