Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / ext / attrib14.C
blob3a819e01d82001b37fb18e2272d935633abcb1ed
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
7     virtual ~A();
8     void foo(const A&);
9     void bar(const A&);
10 };                              // { dg-warning "ignored" "" }
12 void A::foo(const A&)   {}
13 void A::bar(const A& a) { foo(a); }