diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/c99-flex-array-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/c99-flex-array-1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/c99-flex-array-1.c b/gcc/testsuite/gcc.dg/c99-flex-array-1.c index b14397a..f315709 100644 --- a/gcc/testsuite/gcc.dg/c99-flex-array-1.c +++ b/gcc/testsuite/gcc.dg/c99-flex-array-1.c @@ -2,7 +2,7 @@ /* { dg-do compile } */ /* { dg-options "-std=iso9899:1999 -pedantic-errors" } */ -struct s1 { int x[]; }; /* { dg-error "empty struct" "empty" } */ -struct s2 { int :1; int x[]; }; /* { dg-error "empty struct" "empty" } */ +struct s1 { int x[]; }; /* { dg-error "no named members" "members" } */ +struct s2 { int :1; int x[]; }; /* { dg-error "no named members" "members" } */ struct s3 { int x[]; int y; }; /* { dg-error "not at end" "not at end" } */ struct s4 { int x; int y[]; }; |