summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Werror-3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/Werror-3.c')
-rw-r--r--gcc/testsuite/gcc.dg/Werror-3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/Werror-3.c b/gcc/testsuite/gcc.dg/Werror-3.c
index b95dd8b6a3d..97874075db2 100644
--- a/gcc/testsuite/gcc.dg/Werror-3.c
+++ b/gcc/testsuite/gcc.dg/Werror-3.c
@@ -3,13 +3,13 @@
/* Make sure the command line option enables the warning. */
-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 ();
}