• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 %s -Wmicrosoft -verify -fms-compatibility -triple x86_64-pc-win32
2 
3 // None of these should warn. stdcall is treated as equivalent to cdecl on
4 // x64.
5 // expected-no-diagnostics
6 
7 int __stdcall f(void);
f(void)8 int __cdecl f(void) {
9   return 0;
10 }
11 int __stdcall func_std(void);
12 int __thiscall func_this(void);
13 int __fastcall func_fast(void);
14