Lines Matching full:underlying
47 e2 // expected-error{{2147483648 is not representable in the underlying}}
52 e3 // expected-error{{2 is not representable in the underlying}}
57 e3 // expected-error{{2 is not representable in the underlying}}
64 e3 // expected-error{{2 is not representable in the underlying}}
86 enum Redeclare3; // expected-error{{previously declared with fixed underlying type}}
87 enum Redeclare3; // expected-error{{previously declared with fixed underlying type}}
93 enum Redeclare6 : short; // expected-error{{redeclared with different underlying type}}
94 enum Redeclare6 : short; // expected-error{{redeclared with different underlying type}}
97 enum class Redeclare7 : short; // expected-error{{redeclared with different underlying type}}
98 enum class Redeclare7 : short; // expected-error{{redeclared with different underlying type}}
200 template<typename T> enum S<T>::A { a }; // expected-error {{previously declared with fixed underlying type}}
201 template<typename T> enum class S<T>::B : char { b }; // expected-error {{redeclared with different underlying}}
203 template<typename T> enum class S<T>::D : char { d }; // expected-error {{redeclared with different underlying}}
212 template<> enum class S<char>::ET : short {}; // expected-error {{different underlying type}}
213 template<> enum class S<int>::Eint : short {}; // expected-error {{different underlying type}}
216 template<typename T> enum class S<T>::ET : int {}; // expected-error {{different underlying type 'int' (was 'short')}}
217 template<typename T> enum class S<T>::Eint : T {}; // expected-error {{different underlying type 'short' (was 'int')}}
230 enum E : int { e }; // expected-error {{different underlying}}
241 enum class E : int { e }; // expected-error {{different underlying}}