(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr102518.c
       1  /* { dg-do compile } */
       2  
       3  struct A {
       4    int *x;
       5  };
       6  int i;
       7  int f(int *const c) {
       8    struct A * b = (struct A *)(&c);
       9    return b->x != 0;
      10  }
      11  void g() { f(&i); }
      12