[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Sema / MicrosoftCompatibility-x64.c
blob7d1f64996eb3c504861bbfabbf1da2ae2c391863
1 // RUN: %clang_cc1 %s -Wmicrosoft -verify -fms-compatibility -triple x86_64-pc-win32
3 // None of these should warn. stdcall is treated as equivalent to cdecl on
4 // x64.
5 // expected-no-diagnostics
7 int __stdcall f(void);
8 int __cdecl f(void) {
9 return 0;
11 int __stdcall func_std(void);
12 int __thiscall func_this(void);
13 int __fastcall func_fast(void);