aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/funcdef-var-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/funcdef-var-2.c')
-rw-r--r--gcc/testsuite/gcc.dg/funcdef-var-2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/funcdef-var-2.c b/gcc/testsuite/gcc.dg/funcdef-var-2.c
index b3eb2ce..e978050 100644
--- a/gcc/testsuite/gcc.dg/funcdef-var-2.c
+++ b/gcc/testsuite/gcc.dg/funcdef-var-2.c
@@ -6,6 +6,6 @@
/* { dg-options "-Wmissing-prototypes" } */
int foo;
-/* { dg-message "note: previous declaration" "previous declaration" { target *-*-* } 8 } */
+/* { dg-message "note: previous declaration" "previous declaration" { target *-*-* } .-1 } */
void foo () {} /* { dg-error "redeclared as different kind of symbol" } */
-/* { dg-warning "no previous prototype" "no previous prototype" { target *-*-* } 10 } */
+/* { dg-warning "no previous prototype" "no previous prototype" { target *-*-* } .-1 } */