1 // { dg-do compile { target c++11 } }
3 // The bogus attribute is ignored, but was in TYPE_ATTRIBUTES during
4 // parsing of the class, causing some variants to have it and some not.
6 struct [[gnu::bogus]] A // { dg-warning "ignored" }
13 void A::foo(const A&) {}
14 void A::bar(const A& a) { foo(a); }