aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2003-10-09-UnionInitializerBug.c
blob: e574a1931d3a6c73d7cc011d1983f0869a03d64b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
struct Foo {
    unsigned a;
    unsigned b;
    unsigned c;
};

struct Bar {
    union {
        void **a;
        struct Foo b;
    }u;
};

struct Bar test = {0};