From: Matthias Braun Date: Sat, 1 Nov 2008 15:45:01 +0000 (+0000) Subject: this is a gnu extension I guess X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=78a1e2bad4ad4a4cd13e337c7d8b7681d0ea5b21;p=cparser this is a gnu extension I guess [r23348] --- diff --git a/parsetest/cp_error045.c b/parsetest/cp_error045.c deleted file mode 100644 index 085bcb6..0000000 --- a/parsetest/cp_error045.c +++ /dev/null @@ -1,12 +0,0 @@ -// works with gcc 3.4.4 and icc 10.1 -typedef void(*__cdecl PIMAGE_TLS_CALLBACK)(); -typedef void(__cdecl* PIMAGE_TLS_CALLBACK2)(); - -// works with gcc 3.4.4 -typedef void(__attribute__((__stdcall__)) *PIMAGE_TLS_CALLBACK3)(); -typedef void(*__attribute__((__stdcall__)) PIMAGE_TLS_CALLBACK4)(); - -int main(void) -{ - return 0; -} diff --git a/parsetest/gnu99/cp_error045.c b/parsetest/gnu99/cp_error045.c new file mode 100644 index 0000000..085bcb6 --- /dev/null +++ b/parsetest/gnu99/cp_error045.c @@ -0,0 +1,12 @@ +// works with gcc 3.4.4 and icc 10.1 +typedef void(*__cdecl PIMAGE_TLS_CALLBACK)(); +typedef void(__cdecl* PIMAGE_TLS_CALLBACK2)(); + +// works with gcc 3.4.4 +typedef void(__attribute__((__stdcall__)) *PIMAGE_TLS_CALLBACK3)(); +typedef void(*__attribute__((__stdcall__)) PIMAGE_TLS_CALLBACK4)(); + +int main(void) +{ + return 0; +}