summaryrefslogtreecommitdiffstats
path: root/test/Parser/arm-windows-calling-convention-handling.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/arm-windows-calling-convention-handling.c')
-rw-r--r--test/Parser/arm-windows-calling-convention-handling.c5
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;
}
-
OpenPOWER on IntegriCloud