* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / friend10.C
blobfa2eccbea741940688ae67d8b76571c0b1d9ec34
1 // PR c++/18681
2 // Bug: The friend declaration in A failed to give C::D access to A::B
3 // as specified in DR 45.
5 class A
7   struct B;
8   friend class C;
9 };
11 class C
13   struct D
14   {
15     void f();
16   };
19 void C::D::f()
21   A::B* p;