summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Werror-8.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/Werror-8.c')
-rw-r--r--gcc/testsuite/gcc.dg/Werror-8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/Werror-8.c b/gcc/testsuite/gcc.dg/Werror-8.c
index 5051b7aa47c..23079ce9de9 100644
--- a/gcc/testsuite/gcc.dg/Werror-8.c
+++ b/gcc/testsuite/gcc.dg/Werror-8.c
@@ -5,13 +5,13 @@
#pragma GCC diagnostic warning "-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-warning "warning: .* will always evaluate as 'true'" } */
+ if (&i) /* { dg-warning ".* will always evaluate as 'true'" } */
grill ();
}