pr32207.c: Fix typo in expected warning messages.
[gcc.git] / gcc / testsuite / gcc.dg / Walways-true-2.c
index 3978a446188d8e4d3f149188a61b490470c1ecd0..af40ba65a5ac98e8c0127dea636ed37d925cb180 100644 (file)
@@ -37,11 +37,11 @@ bar (int a)
     foo (9);
   if (i == 0)
     foo (10);
-  if (&a == 0) /* { dg-warning "the comparison will always evaluate to 'false'" "correct warning" } */
+  if (&a == 0) /* { dg-warning "the comparison will always evaluate as 'false'" "correct warning" } */
     foo (11);
   if (a == 0)
     foo (12);
-  if (&&lab == 0) /* { dg-warning "the comparison will always evaluate to 'false'" "correct warning" } */
+  if (&&lab == 0) /* { dg-warning "the comparison will always evaluate as 'false'" "correct warning" } */
     foo (13);
   if (0 == foo)
     foo (14);
@@ -51,10 +51,10 @@ bar (int a)
     foo (16);
   if (0 == i)
     foo (17);
-  if (0 == &a) /* { dg-warning "the comparison will always evaluate to 'false'" "correct warning" } */
+  if (0 == &a) /* { dg-warning "the comparison will always evaluate as 'false'" "correct warning" } */
     foo (18);
   if (0 == a)
     foo (19);
-  if (0 == &&lab) /* { dg-warning "the comparison will always evaluate to 'false'" "correct warning" } */
+  if (0 == &&lab) /* { dg-warning "the comparison will always evaluate as 'false'" "correct warning" } */
     foo (20);
 }