blob: 39322021efcbd9bcebe966fb47d0df47f3fabceb [file] [log] [blame]
// { dg-do compile }
//
// PR 11553 catch duplicate friend specifiers
struct S
{
friend friend class C; // { dg-error "duplicate" }
};