1 /* Test warning for ordered comparison pointer with null pointer constant. */
2 /* Tested with no warning option. */
3 /* { dg-do compile } */
4 /* { dg-options "" } */
17 if (z
>= (void*)0) /* { dg-warning "distinct pointer types lacks a cast" } */
19 if ((void*)0 >=z
) /* { dg-warning "distinct pointer types lacks a cast" } */