(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
Wcxx-compat-1.c
       1  /* PR c/21759  */
       2  /* { dg-options "-Wc++-compat" } */
       3  
       4  int
       5  main(void)
       6  {
       7     void *p = 0;
       8     int *q = p;                  /* { dg-warning "not permitted" } */
       9     double* t = (void *)0;
      10     return p != q;
      11  }