2014-04-05 04:31:19 +08:00
|
|
|
// RUN: %clang_cc1 -triple thumbv7-windows -fms-compatibility -fsyntax-only -verify %s
|
|
|
|
|
2015-08-15 02:00:09 +08:00
|
|
|
int __cdecl cdecl(int a, int b, int c, int d) { // expected-no-diagnostics
|
2014-04-05 04:31:19 +08:00
|
|
|
return a + b + c + d;
|
|
|
|
}
|
|
|
|
|
2015-08-15 02:00:09 +08:00
|
|
|
float __stdcall stdcall(float a, float b, float c, float d) { // expected-no-diagnostics
|
2014-04-05 04:31:19 +08:00
|
|
|
return a + b + c + d;
|
|
|
|
}
|