aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/struct-semi-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/struct-semi-2.c')
-rw-r--r--gcc/testsuite/gcc.dg/struct-semi-2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/struct-semi-2.c b/gcc/testsuite/gcc.dg/struct-semi-2.c
index 3708e53..1c336c5 100644
--- a/gcc/testsuite/gcc.dg/struct-semi-2.c
+++ b/gcc/testsuite/gcc.dg/struct-semi-2.c
@@ -5,7 +5,7 @@
/* { dg-options "-pedantic" } */
struct s0 { ; }; /* { dg-warning "extra semicolon in struct or union specified" } */
-/* { dg-warning "struct has no members" "empty" { target *-*-* } 7 } */
+/* { dg-warning "struct has no members" "empty" { target *-*-* } .-1 } */
struct s1 {
int a;
; /* { dg-warning "extra semicolon in struct or union specified" } */