summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ext/attrib1.C
blob: dd14628956bb6bc6ec7452008a240e5930b229bc (plain)
1
2
3
4
5
6
7
8
9
10
11
// Test for using prefix attributes in a parameter decl.
// Contributed by Jason Merrill <jason@cygnus.com>
// Skip if not target: i?86-*-*
// Build don't link:

#define _stdcall __attribute__ ((__stdcall__))

typedef void (_stdcall* pfn)();

void f (void (_stdcall*)    ());
void f (void (_stdcall* pfn)());