(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr104825.c
       1  /* { dg-do compile } */
       2  /* { dg-additional-options "-Wno-stringop-overread" } */
       3  
       4  int foo (fmt)
       5  char* fmt;
       6  {
       7    return (__builtin_strchr (fmt, '*') != 0
       8            || __builtin_strchr (fmt, 'n') != 0);
       9  }
      10  void bar ()
      11  {
      12    if (foo (1))
      13      __builtin_abort ();
      14  }