Lines Matching full:constant
4 // or enumeration constant: as array bounds, as case expressions, as
7 // An integral constant-expression can involve only literals, enumerators,
9 // initialized with constant expressions, and sizeof expressions. Floating
91 case (1/0, 1): // expected-error {{not an integral constant expression}} expected-note {{division by zero}}
92 case (int)(1/0, 2.0): // expected-error {{not an integral constant expression}} expected-note {{division by zero}}
93 case __imag(1/0): // expected-error {{not an integral constant expression}} expected-note {{division by zero}}
94 case (int)__imag((double)(1/0)): // expected-error {{not an integral constant expression}} expected-note {{division by zero}}
103 S<p> s; // expected-error {{not an integral constant expression}}
107 // recurse2 cannot be used in a constant expression because it is not
108 // initialized by a constant expression. The same expression appearing later in
109 // the TU would be a constant expression, but here it is not.
113 int array2[recurse2]; // expected-warning {{variable length array}} expected-warning {{integer constant expression}}