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