OSDN Git Service

2010-02-10 Joost VandeVondele <jv244@cam.ac.uk>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / Werror-5.c
index b27efbf..c03fc3b 100644 (file)
@@ -4,13 +4,13 @@
 
 /* Make sure -Werror turns warnings in to errors.  */
 
-void __attribute__((dj)) bar() { }     /* { dg-error "error: .* attribute directive ignored" } */
+void __attribute__((dj)) bar() { }     /* { dg-error ".* 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 ();
 }