blob: 33e662d3d405d743b9884337d93b570742474afd [file] [log] [blame]
/* Test for overflow in NULL pointer constant. */
/* { dg-do compile } */
#include <limits.h>
void *p = 0;
void *q = 0 * (INT_MAX + 1); // { dg-warning "expression which evaluates to zero treated as a null pointer constant" }