(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr45860.c
       1  /* { dg-do compile } */
       2  
       3  void
       4  foo (char *str, int i)
       5  {
       6    static const char text[] = "";
       7    str[i] = 0;
       8    if (i & 1)
       9      __builtin_strcpy (str + i, text);
      10  }
      11