// RUN: %clang_cc1 -fsyntax-only -verify %s
;
S::EnumT Evar = S::E; // ok
S::EnumT Evar2 = ; //expected-error{{use of undeclared identifier 'EnumT'; did you mean 'S::EnumT'?}}
S::M m; //expected-error{{no type named 'M' in 'S'}}
S::X x; //expected-error{{variable has incomplete type 'S::X'}}
;
;
;
int S4::v4; //expected-note{{previous definition is here}}
int S4::v4; //expected-error{{redefinition of 'v4'}}
;