Lines Matching refs:Array
19 NonPOD array3[N]; // expected-error{{variable length array of non-POD element type 'NonPOD'}}
20 NonPOD2 array4[N][3]; // expected-error{{variable length array of non-POD element type 'NonPOD2'}}
50 int array[N]; // expected-warning{{variable length arrays are a C99 feature}}
51 X0<__typeof__(array)> x0a; // expected-error{{variably modified type 'typeof (array)' (aka 'int [N]') cannot be used as a template argument}}
56 template<int (&Array)[T::value]> // expected-error{{non-type template parameter of variably modified type 'int (&)[HasNonConstantValue::value]'}} \
69 void accept_array(T (&array)[N]); // expected-note{{candidate template ignored: could not match 'T [N]' against 'int [N]'}}
72 int array[N]; // expected-warning{{variable length arrays are a C99 feature}}
73 accept_array(array); // expected-error{{no matching function for call to 'accept_array'}}
80 int array[N]; // expected-error{{fields must have a constant size: 'variable length array in structure' extension will never be supported}} \
100 int array[value * i]; // expected-warning 2{{variable length arrays are a C99 feature}}
131 // Ok, fold to a constant size array as an extension.