// RUN: %clang_cc1 %s -fsyntax-only -Wno-unused-value -Wmicrosoft -verify -fms-compatibility -DMSVCCOMPAT -triple i686-pc-win32
// RUN: %clang_cc1 %s -fsyntax-only -Wno-unused-value -Wmicrosoft -verify -fms-extensions -triple i686-pc-win32
; // expected-warning {{forward references to 'enum' types are a Microsoft extension}}
enum ENUM1 var1 = 3;
;
; // expected-note {{forward declaration of}}
enum ENUM1 var1 = 3; // expected-error {{variable has incomplete type 'enum ENUM1'}}
;
// FIXME: The rest of this seems to be controlled by -fms-extensions. Move it.
;
__declspec void
__declspec s; /* expected-error {{requested alignment must be 8192 bytes or smaller}} */
; /* expected-warning {{__declspec attribute 'aligned' is not supported}} */
; /* expected-warning {{__declspec attribute 'appdomain' is not supported}} */
__declspec void ; /* expected-warning {{__declspec attribute '__noreturn__' is not supported}} */
size_t x;
size_t x; // expected-error {{unknown type name 'size_t'}}