7 /* Note - strictly speaking this array declaration is illegal
8 since each element has a variable length. We used to allow
9 this because it was used in existing code.
10 Since PR64417 we reject this code. */
11 static const struct var_len var_array
[] =
13 { 1, "Long exposure noise reduction" }, /* { dg-error "initialization of flexible array member" } */
14 { 2, "Shutter/AE lock buttons" }, /* { dg-error "initialization of flexible array member" } */
15 { 3, "Mirror lockup" } /* { dg-error "initialization of flexible array member" } */