diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/c99-impl-decl-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/c99-impl-decl-1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/c99-impl-decl-1.c b/gcc/testsuite/gcc.dg/c99-impl-decl-1.c index 6602bc7..bc4f5fe 100644 --- a/gcc/testsuite/gcc.dg/c99-impl-decl-1.c +++ b/gcc/testsuite/gcc.dg/c99-impl-decl-1.c @@ -7,7 +7,7 @@ void foo (void) { bar (); /* { dg-bogus "warning" "warning in place of error" } */ - /* { dg-error "implicit" "C99 implicit declaration error" { target *-*-* } 9 } */ + /* { dg-error "implicit" "C99 implicit declaration error" { target *-*-* } .-1 } */ } /* C90 subclause 7.1.7 says we can implicitly declare strcmp; C99 removes @@ -17,5 +17,5 @@ int bar (const char *a, const char *b) { return strcmp (a, b); /* { dg-bogus "warning" "warning in place of error" } */ - /* { dg-error "implicit" "C99 implicit declaration error" { target *-*-* } 19 } */ + /* { dg-error "implicit" "C99 implicit declaration error" { target *-*-* } .-1 } */ } |