PR c++/80290
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.ext / attrib1.C
blob99f48e4a8ce9f4c5185a745aae148307e4ea83eb
1 // { dg-do assemble { target { { i?86-*-* x86_64-*-* } && ia32 } } }
2 // Test for using prefix attributes in a parameter decl.
3 // Contributed by Jason Merrill <jason@cygnus.com>
5 #define _stdcall __attribute__ ((__stdcall__))
7 typedef void (_stdcall* pfn)();
9 void f (void (_stdcall*)    ());
10 void f (void (_stdcall* pfn)());