struct Foo { unsigned a; unsigned b; unsigned c; }; struct Bar { union { void **a; struct Foo b; }u; }; struct Bar test = {0};
This was distilled from a testcase provided by Bill from HDF5
This is now fixed. Tested by: test/Regression/CFrontend/2003-10-09-UnionInitializerBug.c
This should be fixed another way in the C front-end. Reopening bug as a reminder to myself.
Ok, nevermind. This is fixed for real.