xref: /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.ext/attrib1.C (revision c87b03e512fc05ed6e0222f6fb0ae86264b1d05b)
1 // Test for using prefix attributes in a parameter decl.
2 // Contributed by Jason Merrill <jason@cygnus.com>
3 // Skip if not target: i?86-*-*
4 // Build don't link:
5 
6 #define _stdcall __attribute__ ((__stdcall__))
7 
8 typedef void (_stdcall* pfn)();
9 
10 void f (void (_stdcall*)    ());
11 void f (void (_stdcall* pfn)());
12