* gcc.c-torture/execute/20010129-1.c: Compile with -mtune=i686
[official-gcc.git] / gcc / testsuite / g++.dg / ext / attrib42.C
blob307a5d6b51f7e00535c5434658b52816a5741bf7
1 // { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } }
3 struct A {
4   __attribute__((fastcall))
5   void f();
6 };
8 int main()
10     typedef void (A::*FP)();
11     FP fp[] = {&A::f};          // { dg-error "cannot convert" }