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