summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr15698-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr15698-2.c')
-rw-r--r--gcc/testsuite/gcc.dg/pr15698-2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/pr15698-2.c b/gcc/testsuite/gcc.dg/pr15698-2.c
index c0d635aba62..3ad60a9a95c 100644
--- a/gcc/testsuite/gcc.dg/pr15698-2.c
+++ b/gcc/testsuite/gcc.dg/pr15698-2.c
@@ -5,5 +5,5 @@
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
-void f() { void g(void); } /* { dg-error "error: prototype declaration" } */
-void g(a) int a; {} /* { dg-error "error: number of arguments doesn't match prototype" } */
+void f() { void g(void); } /* { dg-error "prototype declaration" } */
+void g(a) int a; {} /* { dg-error "number of arguments doesn't match prototype" } */