2004-11-12 Mark Mitchell <mark@codesourcery.com>
[official-gcc/alias-decl.git] / gcc / testsuite / g++.old-deja / g++.ext / attrib1.C
blob0d66d72ebc6a897cab13fa95e7cf444cdc4115fd
1 // { dg-do assemble { target i?86-*-* } }
2 // { dg-forbid-option "-m64" }
3 // Test for using prefix attributes in a parameter decl.
4 // Contributed by Jason Merrill <jason@cygnus.com>
6 #define _stdcall __attribute__ ((__stdcall__))
8 typedef void (_stdcall* pfn)();
10 void f (void (_stdcall*)    ());
11 void f (void (_stdcall* pfn)());