* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / gen-attrs-14.C
bloba512df71dd2252b6c141eaa3f7944b0fab19cc4f
1 // { dg-do compile { target c++11 } }
2 // PR c++/13170
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" }
8     virtual ~A();
9     void foo(const A&);
10     void bar(const A&);
13 void A::foo(const A&)   {}
14 void A::bar(const A& a) { foo(a); }