* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / visibility8.C
blob3c443afe67854cebab0ef072ee75c4fb3f2aad71
1 // { dg-do assemble  }
2 // GROUPS passed visibility
3 // Make sure private inheritance affects the visibility of
4 // static members used in an inherited context.
5 class foo
7 public:
8   static int y; // { dg-message "" } private
9 };
10 class foo1 : private foo
11 { };
12 class foo2 : public foo1
13 { public:
14   void bar () { y; }// { dg-error "" } .*