blob: 4e724d40128f9428330a3fb9f66079cd10be415b [file] [log] [blame]
// anon-union decls may need a discriminator
void f ()
{
{ static int bob; }
{ static union {int bob;};}
{ static int bob; }
{ static union {int bob;}; }
}
// { dg-final { scan-assembler {_ZZ1fvE3bob[^_]} } }
// { dg-final { scan-assembler {_ZZ1fvE3bob_0} } }
// { dg-final { scan-assembler {_ZZ1fvE3bob_1} } }
// { dg-final { scan-assembler {_ZZ1fvE3bob_2} } }