mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-22 04:55:50 -04:00

This is similar to what's done on arm and x86_64, where these calling conventions are silently ignored, as in SVN r245076. Differential Revision: https://reviews.llvm.org/D36105 llvm-svn: 310303
11 lines
392 B
C
11 lines
392 B
C
// RUN: %clang_cc1 -triple thumbv7-windows -fms-compatibility -fsyntax-only -verify %s
|
|
// RUN: %clang_cc1 -triple aarch64-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;
|
|
}
|