2 /* { dg-do compile } */
3 /* { dg-options "-std=gnu11" } */
11 } __attribute__((designated_init
));
13 struct S s1
= { .a
= 0, .b
= 0 };
14 struct S s2
= { 0, 0 }; /* { dg-warning "(positional|near initialization)" } */
15 struct S s3
= { .a
= 5, 0 }; /* { dg-warning "(positional|near initialization)" } */