2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.ext / attrib1.C
blob3947e904f5f88dbca2b16f8fbfb0399eed4cd0b9
1 // { dg-do assemble { target i?86-*-* } }
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)());