diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/Werror-9.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/Werror-9.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/Werror-9.c b/gcc/testsuite/gcc.dg/Werror-9.c index 30326a4799a..87051146a5b 100644 --- a/gcc/testsuite/gcc.dg/Werror-9.c +++ b/gcc/testsuite/gcc.dg/Werror-9.c @@ -5,13 +5,13 @@ #pragma GCC diagnostic error "-Waddress" -void __attribute__((dj)) bar() { } /* { dg-warning "warning: .* attribute directive ignored" } */ +void __attribute__((dj)) bar() { } /* { dg-warning ".* attribute directive ignored" } */ int i; void foo () { - if (&i) /* { dg-error "error: .* will always evaluate as 'true'" } */ + if (&i) /* { dg-error ".* will always evaluate as 'true'" } */ grill (); } |