* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / gen-attrs-42.C
blob9fcd5560ca239a2609c08baacde8a9eb465360d2
1 // { dg-options "-pedantic" }
2 // { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }
3 // { dg-require-effective-target c++11 }
5 struct A {
6   [[gnu::fastcall]]
7   void f();
8 };
10 int main()
12     typedef void (A::*FP)();
13     FP fp[] = {&A::f};          // { dg-error "cannot convert" }