diff options
Diffstat (limited to 'test/Sema/callingconv.c')
-rw-r--r-- | test/Sema/callingconv.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Sema/callingconv.c b/test/Sema/callingconv.c index 0752606..92a2057 100644 --- a/test/Sema/callingconv.c +++ b/test/Sema/callingconv.c @@ -36,3 +36,11 @@ void (__attribute__((cdecl)) *pctest2)() = ctest2; typedef void (__attribute__((fastcall)) *Handler) (float *); Handler H = foo; +// PR6361 +void ctest3(); +void __attribute__((cdecl)) ctest3() {} + +// PR6408 +typedef __attribute__((stdcall)) void (*PROC)(); +PROC __attribute__((cdecl)) ctest4(const char *x) {} + |