summaryrefslogtreecommitdiffstats
path: root/test/Parser/arm-windows-calling-convention-handling.c
blob: ee25e601931f56b9d7aed2f711648db65e9c42d3 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -triple thumbv7-windows -fms-compatibility -fsyntax-only -verify %s

int __cdecl cdecl(int a, int b, int c, int d) { // expected-no-diagnostics
  return a + b + c + d;
}

float __stdcall stdcall(float a, float b, float c, float d) { // expected-no-diagnostics
  return a + b + c + d;
}