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