12 lines · c
1// RUN: %clang_cc1 -triple x86_64-windows -fsyntax-only -verify %s2// RUN: %clang_cc1 -triple x86_64-mingw -fsyntax-only -verify %s3// RUN: %clang_cc1 -triple x86_64-cygwin -fsyntax-only -verify %s4 5int __cdecl cdecl(int a, int b, int c, int d) { // expected-no-diagnostics6 return a + b + c + d;7}8 9float __stdcall stdcall(float a, float b, float c, float d) { // expected-no-diagnostics10 return a + b + c + d;11}12