// RUN: %clang_cc1 -triple i386-mingw32 -fsyntax-only -Wno-missing-declarations -verify -fms-extensions %s
__stdcall int ;
int __stdcall ;
typedef int ;
;
extern __declspec void __stdcall ;
__declspec __declspec char * __cdecl ;
__declspec __declspec __declspec void * __cdecl ; /* expected-warning{{__declspec attribute 'safebuffers' is not supported}} */
typedef __w64 unsigned long ULONG_PTR, *PULONG_PTR;
void * __ptr64
void * __ptr32
/* Both inline and __forceinline is OK. */
inline void __forceinline
__forceinline void inline
void inline __forceinline
void __forceinline inline
/* But duplicate __forceinline causes warning. */
void __forceinline __forceinline
_inline int
void
/* Charify extension. */
char x = ;
/* expected-error@-1 {{'#@' is not followed by a macro parameter}} */
typedef enum E ;
; /* expected-note {{'E2' has been explicitly marked deprecated here}} */
__declspec e; /* expected-note {{'e' has been explicitly marked deprecated here}} */
void
/* Microsoft attribute tests */
int ;