(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr30473.c
       1  /* PR middle-end/30473 */
       2  /* Make sure this doesn't ICE.  */
       3  /* { dg-do compile } */
       4  /* { dg-options "-O2" } */
       5  
       6  extern int sprintf (char *, const char *, ...);
       7  
       8  void
       9  foo (char *buf1, char *buf2)
      10  {
      11    sprintf (buf1, "%s", "abcde");
      12    sprintf (buf2, "%s");
      13  }