On Tue, Mar 15, 2016 at 2:39 PM, Joseph Myers <jos...@codesourcery.com> wrote: > I'm not sure if the zero-size arrays (a GNU extension) are considered to > make a struct non-empty, but in any case I think the tests should cover > such arrays as elements of structs.
There are couple tests for structs with members of array of empty types. testsuite/g++.dg/abi/empty14.h has struct dummy0 { }; struct dummy { struct dummy0 d[140]; }; -- H.J.