diff options
Diffstat (limited to 'test/Parser/arm-windows-calling-convention-handling.c')
-rw-r--r-- | test/Parser/arm-windows-calling-convention-handling.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Parser/arm-windows-calling-convention-handling.c b/test/Parser/arm-windows-calling-convention-handling.c index 7717aad..ee25e60 100644 --- a/test/Parser/arm-windows-calling-convention-handling.c +++ b/test/Parser/arm-windows-calling-convention-handling.c @@ -1,10 +1,9 @@ // RUN: %clang_cc1 -triple thumbv7-windows -fms-compatibility -fsyntax-only -verify %s -int __cdecl cdecl(int a, int b, int c, int d) { // expected-warning {{calling convention '__cdecl' ignored for this target}} +int __cdecl cdecl(int a, int b, int c, int d) { // expected-no-diagnostics return a + b + c + d; } -float __stdcall stdcall(float a, float b, float c, float d) { // expected-warning {{calling convention '__stdcall' ignored for this target}} +float __stdcall stdcall(float a, float b, float c, float d) { // expected-no-diagnostics return a + b + c + d; } - |