diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:49:41 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:49:41 +0000 |
| commit | 45b533945f0851ec234ca846e1af5ee1e4df0b6e (patch) | |
| tree | 0a5b74c0b9ca73aded34df95c91fcaf3815230d8 /test/Parser/arm-windows-calling-convention-handling.c | |
| parent | 7e86edd64bfae4e324224452e4ea879b3371a4bd (diff) | |
Notes
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 7717aada53a39..ee25e601931f5 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; } - |
