* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / gen-attrs-37.C
blob59626b254eb325cd56a9d239f719f681b7b8e221
1 // PR c++/43093
2 // { dg-options "-pedantic" }
3 // { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }
4 // { dg-require-effective-target c++11 }
6 // c++11 attributes that apply to types are ignored for now
8 struct S {
9   int x;
10   S(const S &s) {}
13 S getS() [[gnu::__stdcall__]];  // { dg-warning "ignored" }
15 void test()
17   S s = getS();