1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -fcf-protection -mmanual-endbr" } */
       3  /* { dg-final { scan-assembler-times {\mendbr} 1 } } */
       4  
       5  __attribute__((__cf_check__))
       6  void
       7  foo (void)
       8  {
       9  }