From 7efd55ea22b676c85beaefcae04c66b2be1911cc Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Wed, 16 May 2007 13:12:42 +0200 Subject: [PATCH] Add test for typedef on pointer to function with stdcall attribute. Signed-off-by: Michael Stefaniuc --- validation/calling-convention-attributes.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/validation/calling-convention-attributes.c b/validation/calling-convention-attributes.c index 05467546..1bbe575c 100644 --- a/validation/calling-convention-attributes.c +++ b/validation/calling-convention-attributes.c @@ -2,3 +2,6 @@ extern void __attribute__((cdecl)) f1(void); extern void __attribute__((__cdecl__)) f2(void); extern void __attribute__((stdcall)) f3(void); extern void __attribute__((__stdcall__)) f4(void); + +typedef void (__attribute__((__stdcall__)) *f5)(void); +typedef f5 f5ptr; -- 2.11.4.GIT