Lines Matching defs:e2
7 enum struct E2 {
16 static_assert(sizeof(E2) == sizeof(int), "bad size");
17 static_assert(sizeof(E2::Val1) == sizeof(int), "bad size");
19 E1 v3 = E2::Val1; // expected-error{{cannot initialize a variable}}
41 e2 = 2147483647, // ok
47 e2 // expected-error{{2147483648 is not representable in the underlying}}
51 e1 = false, e2 = true,
56 e1 = false, e2 = true,
63 e1, e2,
260 enum class E2 : T;
307 typedef E E2;
308 E2 f1() { return E::a; }
310 bool f() { return !f1(); } // expected-error {{invalid argument type 'E2' (aka 'test11::E') to unary expression}}