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