(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
execute/
pr53084.c
       1  /* PR middle-end/53084 */
       2  
       3  extern void abort (void);
       4  
       5  __attribute__((noinline, noclone)) void
       6  bar (const char *p)
       7  {
       8    if (p[0] != 'o' || p[1] != 'o' || p[2])
       9      abort ();
      10  }
      11  
      12  int
      13  main ()
      14  {
      15    static const char *const foo[] = {"foo" + 1};
      16    bar (foo[0]);
      17    return 0;
      18  }