aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.ext/attrib1.C
blob: 99f48e4a8ce9f4c5185a745aae148307e4ea83eb (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble { target { { i?86-*-* x86_64-*-* } && ia32 } } }
// 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)());