1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -triple thumbv7-windows -fms-compatibility -fsyntax-only -verify %s
2*0a6a1f1dSLionel Sambuc
cdecl(int a,int b,int c,int d)3*0a6a1f1dSLionel Sambuc int __cdecl cdecl(int a, int b, int c, int d) { // expected-warning {{calling convention '__cdecl' ignored for this target}}
4*0a6a1f1dSLionel Sambuc return a + b + c + d;
5*0a6a1f1dSLionel Sambuc }
6*0a6a1f1dSLionel Sambuc
stdcall(float a,float b,float c,float d)7*0a6a1f1dSLionel Sambuc float __stdcall stdcall(float a, float b, float c, float d) { // expected-warning {{calling convention '__stdcall' ignored for this target}}
8*0a6a1f1dSLionel Sambuc return a + b + c + d;
9*0a6a1f1dSLionel Sambuc }
10*0a6a1f1dSLionel Sambuc
11