diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/Wdeclaration-after-statement-2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/Wdeclaration-after-statement-2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/Wdeclaration-after-statement-2.c b/gcc/testsuite/gcc.dg/Wdeclaration-after-statement-2.c index 5aa3e5d1388..ac89bbc2685 100644 --- a/gcc/testsuite/gcc.dg/Wdeclaration-after-statement-2.c +++ b/gcc/testsuite/gcc.dg/Wdeclaration-after-statement-2.c @@ -16,10 +16,10 @@ main (void) i++; if (i != 1) abort (); - int j = i; /* { dg-warning "warning" "declaration-after-statement" } */ + int j = i; /* { dg-warning "" "declaration-after-statement" } */ if (j != 1) abort (); - struct foo { int i0; } k = { 4 }; /* { dg-warning "warning" "declaration-after-statement" } */ + struct foo { int i0; } k = { 4 }; /* { dg-warning "" "declaration-after-statement" } */ if (k.i0 != 4) abort (); exit (0); |