1 2 3 4 5 6 7 8 9 10
// { dg-do compile } // // PR 11553 catch duplicate friend specifiers struct S { friend friend class C; // { dg-error "duplicate" } };