1  /* { dg-do compile { target *-*-linux* } } */
       2  /* { dg-require-effective-target mfentry } */
       3  /* { dg-options "-O2 -fcf-protection -mfentry -fasynchronous-unwind-tables" } */
       4  /* { dg-additional-options "-fno-pic" { target ia32 } } */
       5  /* { dg-final { scan-assembler-times {\t\.cfi_startproc\n\tendbr} 1 } } */
       6  
       7  extern int bar (int);
       8  
       9  int
      10  foo (int i)
      11  {
      12    return bar (i);
      13  }