summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.gb/scope07.C
blob: a0de26980ed5c73dce9ac50e059543740d10e5fb (plain)
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 () { }