1 | // RUN: %clang_cc1 -triple thumbv7-windows -fms-compatibility -fsyntax-only -verify %s |
---|---|
2 | // RUN: %clang_cc1 -triple aarch64-windows -fms-compatibility -fsyntax-only -verify %s |
3 | |
4 | int __cdecl cdecl(int a, int b, int c, int d) { // expected-no-diagnostics |
5 | return a + b + c + d; |
6 | } |
7 | |
8 | float __stdcall stdcall(float a, float b, float c, float d) { // expected-no-diagnostics |
9 | return a + b + c + d; |
10 | } |
11 |