summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/anon-struct-5.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/anon-struct-5.c')
-rw-r--r--gcc/testsuite/gcc.dg/anon-struct-5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/anon-struct-5.c b/gcc/testsuite/gcc.dg/anon-struct-5.c
index f7d1278963c..af1690ed3ca 100644
--- a/gcc/testsuite/gcc.dg/anon-struct-5.c
+++ b/gcc/testsuite/gcc.dg/anon-struct-5.c
@@ -3,5 +3,5 @@
/* { dg-options "-std=c99 -pedantic-errors" } */
struct Foo { int; }; /* { dg-bogus "unnamed" } */
-/* { dg-error "error: declaration does not declare anything" "int;" { target *-*-* } 5 } */
-/* { dg-error "error: struct has no members" "no members" { target *-*-* } 5 } */
+/* { dg-error "declaration does not declare anything" "int;" { target *-*-* } 5 } */
+/* { dg-error "struct has no members" "no members" { target *-*-* } 5 } */