* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / ext / attrib14.C
blob9db1f39e6ec4b67b4187f5ab8b8e7afb9d4eab4a
1 // PR c++/13170
2 // The bogus attribute is ignored, but was in TYPE_ATTRIBUTES during
3 // parsing of the class, causing some variants to have it and some not.
5 struct __attribute__((bogus)) A // { dg-warning "ignored" }
7     virtual ~A();
8     void foo(const A&);
9     void bar(const A&);
12 void A::foo(const A&)   {}
13 void A::bar(const A& a) { foo(a); }