aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/array-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/array-2.c')
-rw-r--r--gcc/testsuite/gcc.dg/array-2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/array-2.c b/gcc/testsuite/gcc.dg/array-2.c
index 6187500..f207af5 100644
--- a/gcc/testsuite/gcc.dg/array-2.c
+++ b/gcc/testsuite/gcc.dg/array-2.c
@@ -8,7 +8,7 @@ struct f { int w; int x[]; };
struct g { struct f f; };
struct g g1 = { { 0, { } } };
struct g g2 = { { 0, { 1 } } }; /* { dg-error "nested context" "nested" } */
- /* { dg-message "near init" "near" { target *-*-* } 10 } */
+ /* { dg-message "near init" "near" { target *-*-* } .-1 } */
struct h { int x[0]; int y; };
struct h h1 = { { 0 }, 1 }; /* { dg-warning "excess elements" "excess" } */
- /* { dg-message "near init" "before end" { target *-*-* } 13 } */
+ /* { dg-message "near init" "before end" { target *-*-* } .-1 } */