summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c99-impl-int-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/c99-impl-int-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/c99-impl-int-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/c99-impl-int-1.c b/gcc/testsuite/gcc.dg/c99-impl-int-1.c
index 2e5cad56d9e..dcc25203ae8 100644
--- a/gcc/testsuite/gcc.dg/c99-impl-int-1.c
+++ b/gcc/testsuite/gcc.dg/c99-impl-int-1.c
@@ -6,4 +6,4 @@
extern foo; /* { dg-bogus "warning" "warning in place of error" } */
/* { dg-error "type defaults" "C99 implicit int error" { target *-*-* } 6 } */
bar (void) { } /* { dg-bogus "warning" "warning in place of error" } */
-/* { dg-error "type defaults" "C99 implicit int error" { target *-*-* } 8 } */
+/* { dg-error "return type defaults" "C99 implicit int error" { target *-*-* } 8 } */