1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -fcf-protection" } */ 3 /* { dg-final { scan-assembler-times {\mendbr} 1 } } */ 4 5 static void test(void)6 test (void) 7 { 8 } 9 10 void (*test_p) (void) = test; 11