1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -fcf-protection" } */ 3 /* { dg-final { scan-assembler-times {\mendbr} 2 } } */ 4 5 extern int x; 6 7 __attribute__ ((visibility ("hidden"))) 8 void test(int i)9test (int i) 10 { 11 x = i; 12 } 13 14 void bar(int i)15bar (int i) 16 { 17 test (i); 18 } 19