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