(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
i386/
pr94417-1.c
       1  /* { dg-do compile } */
       2  /* { dg-require-effective-target lp64 } */
       3  /* { dg-options "-O2 -fcf-protection -mcmodel=large" } */
       4  /* { dg-final { scan-assembler-times {\mendbr} 2 } } */
       5  
       6  extern void ext (void);
       7  
       8  __attribute((noclone, noinline))
       9  static
      10  void
      11  foo (void)
      12  {
      13    ext ();
      14  }
      15  
      16  void
      17  bar (void)
      18  {
      19    foo ();
      20  }