1 // { dg-options "-std=c++11 -pedantic" }
2 // { dg-do compile { target { i?86-*-* && ilp32 } } }
3 
4 struct A {
5   [[gnu::fastcall]]
6   void f();
7 };
8 
main()9 int main()
10 {
11     typedef void (A::*FP)();
12     FP fp[] = {&A::f};		// { dg-error "cannot convert" }
13 }
14