blob: 139511262e5e33fb04b7446da876e88dbdc9c9ea (
plain)
1
2
3
4
|
/* PR c/14069 */
/* { dg-do compile } */
struct S { int a; char b[]; char *c; }; /* { dg-error "" "flexible array member not" } */
struct S s = { .b = "foo", .c = .b }; /* { dg-error "" "parse error before" } */
|