OSDN Git Service

* gcc.dg/pr32207.c: Fix typo in expected warning messages.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr32207.c
index 549d51a..cf9bef8 100644 (file)
@@ -5,5 +5,5 @@
 extern void z();
 
 void f() { if ( z ) z(); } /* { dg-warning "always evaluate as" } */
-void g() { if ( z != 0 ) z(); } /* { dg-warning "the comparison will always evaluate to 'true'" } */
-void h() { if ( z != (void*)0 ) z(); } /* { dg-warning "the comparison will always evaluate to 'true'" } */
+void g() { if ( z != 0 ) z(); } /* { dg-warning "the comparison will always evaluate as 'true'" } */
+void h() { if ( z != (void*)0 ) z(); } /* { dg-warning "the comparison will always evaluate as 'true'" } */