Lines Matching full:elements
23 int x4 = { 1, 2 }; // expected-warning{{excess elements in scalar initializer}}
40 { 5 }, // expected-warning{{excess elements in array initializer}}
56 { 1, 2, 3 } // expected-warning{{braces around scalar initializer}} expected-warning{{excess elements in scalar initializer}}
63 { }, // expected-warning{{use of GNU empty initializer extension}} expected-warning{{excess elements in array initializer}}
66 { 1, 3, 5, 2 }, // expected-warning{{excess elements in array initializer}}
151 static char const test3[] = { "test", "excess stuff" }; // expected-warning{{excess elements in char array initializer}}
159 char c2[] = { "Hello", "Good bye" }; //expected-warning{{excess elements in char array initializer}}
180 float r4[1][2] = {1,{2},3,4}; //expected-warning{{braces around scalar initializer}} expected-warning{{excess elements in array initializer}}
209 struct bittest bittestvar = {1, 2, 3, 4}; //expected-warning{{excess elements in struct initializer}}
222 // expected-error{{initializer for aggregate with no elements}}
225 struct {int:5;} x[] = {6}; //expected-error{{initializer for aggregate with no elements}}
246 // expected-warning{{excess elements in struct initializer}}
266 char badchararray[1] = { badchararray[0], "asdf" }; // expected-warning {{excess elements in array initializer}} expected-error {{initializer element is not a compile-time constant}}