1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fcf-protection -mno-manual-endbr" } */
3 /* { dg-final { scan-assembler-times {\mendbr} 1 } } */
4 
5 extern void bar (void) __attribute__((__cf_check__));
6 
7 void
foo(void)8 foo (void)
9 {
10   bar ();
11 }
12