aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/redecl-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/redecl-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/redecl-1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/redecl-1.c b/gcc/testsuite/gcc.dg/redecl-1.c
index c76004e..cfabc8d 100644
--- a/gcc/testsuite/gcc.dg/redecl-1.c
+++ b/gcc/testsuite/gcc.dg/redecl-1.c
@@ -70,8 +70,8 @@ void prime5(void)
void test5(void)
{
- bar5(1); /* { dg-warning "warning: implicit declaration of function" } */
-} /* { dg-error "error: incompatible implicit declaration" "" { target *-*-* } 73 } */
+ bar5(1); /* { dg-warning "implicit declaration of function" } */
+} /* { dg-error "incompatible implicit declaration" "" { target *-*-* } 73 } */
/* Extern then static, both at file scope. */