URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.ext/] [attrib1.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble { target i?86-*-* x86_64-*-* } }
// { dg-require-effective-target ilp32 }
// Test for using prefix attributes in a parameter decl.
// Contributed by Jason Merrill <jason@cygnus.com>
#define _stdcall __attribute__ ((__stdcall__))
typedef void (_stdcall* pfn)();
void f (void (_stdcall*) ());
void f (void (_stdcall* pfn)());