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