// RUN: %clang_cc1 -triple i686-pc-win32 -Wno-strict-prototypes -verify %s
// It's important that this is a .c file.
// This is fine, as CrcGenerateTable*() has a prototype.
void __fastcall ;
void __fastcall ;
void __fastcall
void __stdcall ;
void __stdcall ;
void __stdcall
void __thiscall ;
void __thiscall ;
void __thiscall
void __pascal ;
void __pascal ;
void __pascal
void __vectorcall ;
void __vectorcall ;
void __vectorcall
void __fastcall ; // expected-error{{function with no prototype cannot use the fastcall calling convention}}
void __stdcall ; // expected-warning{{function with no prototype cannot use the stdcall calling convention}}
void __thiscall ; // expected-error{{function with no prototype cannot use the thiscall calling convention}}
void __pascal ; // expected-error{{function with no prototype cannot use the pascal calling convention}}
void __vectorcall ; // expected-error{{function with no prototype cannot use the vectorcall calling convention}}
void __fastcall
void __stdcall
void __thiscall
void __pascal
void __vectorcall
// Regular calling convention is fine.
void