(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
i386/
pr82659-1.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -fcf-protection" } */
       3  /* { dg-final { scan-assembler-times {\mendbr} 1 } } */
       4  
       5  extern int x;
       6  
       7  static void
       8  __attribute__ ((noinline, noclone))
       9  test (int i)
      10  {
      11    x = i;
      12  }
      13  
      14  void
      15  bar (int i)
      16  {
      17    test (i);
      18  }