[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Parser / arm-windows-calling-convention-handling.c
blob13669b196394892dd273c01dee897312da7ca515
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
4 int __cdecl cdecl(int a, int b, int c, int d) { // expected-no-diagnostics
5 return a + b + c + d;
8 float __stdcall stdcall(float a, float b, float c, float d) { // expected-no-diagnostics
9 return a + b + c + d;