gcc/testsuite/g++.old-deja/g++.ext/attrib1.C
raw| 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 <[email protected]> |
| 4 | |
| 5 | #define _stdcall __attribute__ ((__stdcall__)) |
| 6 | |
| 7 | typedef void (_stdcall* pfn)(); |
| 8 | |
| 9 | void f (void (_stdcall*) ()); |
| 10 | void f (void (_stdcall* pfn)()); |