(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr48213.c
       1  /* PR target/48213 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-g -O2" } */
       4  /* { dg-options "-g -O2 -fpic" { target fpic } } */
       5  
       6  struct S { int (*s) (void); };
       7  int bar (void);
       8  
       9  void
      10  foo (struct S *x)
      11  {
      12    if (x->s != bar)
      13      bar ();
      14  }