1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// PR debug/41828 // { dg-do compile } // { dg-options "-gdwarf-2 -dA -std=c++0x" } // { dg-final { scan-assembler-not "<anonymous" } } // { dg-final { scan-assembler-not "\\._\[0-9\]" } } // { dg-final { scan-assembler-not "\$_\[0-9\]" } } // { dg-final { scan-assembler-not "__anon_" } } struct { union { struct { enum { a, b, c } x; } s; }; } x;