1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// PR c++/90432 // { dg-do compile { target c++11 } } struct empty {}; struct has_empty { [[no_unique_address]] empty brace_or_equal_initialized{}; }; struct has_value { int non_zero = 1; }; struct pair : has_empty, has_value {}; pair a;