(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr38140.c
       1  /* PR middle-end/38140 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O2 -fno-strict-aliasing" } */
       4  
       5  int foo (void *x)
       6  {
       7    int (*fn) (int);
       8    *(void **)&fn = x;
       9    return fn (6);
      10  }