diff options
Diffstat (limited to 'clang/test/Sema/decl-microsoft-call-conv.c')
| -rw-r--r-- | clang/test/Sema/decl-microsoft-call-conv.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/test/Sema/decl-microsoft-call-conv.c b/clang/test/Sema/decl-microsoft-call-conv.c index c35e77f9221..fefa8626eb6 100644 --- a/clang/test/Sema/decl-microsoft-call-conv.c +++ b/clang/test/Sema/decl-microsoft-call-conv.c @@ -19,11 +19,3 @@ void __pascal CrcGenerateTableNoProtoPascal() {} // expected-error{{function wit // Regular calling convention is fine. void CrcGenerateTableNoProto() {} - - -// In system headers, the stdcall version should be a warning. -# 1 "fake_system_header.h" 1 3 4 -void __fastcall SystemHeaderFastcall() {} // expected-error{{function with no prototype cannot use the callee-cleanup fastcall calling convention}} -void __stdcall SystemHeaderStdcall() {} -void __thiscall SystemHeaderThiscall() {} // expected-error{{function with no prototype cannot use the callee-cleanup thiscall calling convention}} -void __pascal SystemHeaderPascal() {} // expected-error{{function with no prototype cannot use the callee-cleanup pascal calling convention}} |

