1 /* { dg-do "compile" { target *-*-linux* } } */ 2 /* { dg-options "-O1 -fcf-protection -mmanual-endbr -fasynchronous-unwind-tables" } */ 3 4 /* Test the placement of the .LPFE1 label. */ 5 6 void 7 __attribute__ ((cf_check,patchable_function_entry (1, 0))) f10_endbr(void)8f10_endbr (void) 9 { 10 } 11 12 /* { dg-final { scan-assembler "\t\.cfi_startproc\n\tendbr(32|64)\n.*\.LPFE1:\n\tnop\n\tret\n" } } */ 13