1 2 3 4 5 6 7 8 9 10 11
// { dg-do assemble } // GROUPS passed gb scope struct D { friend class A; friend class B; friend class C; void foo (); }; void D::foo () { }