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 void
test(int i)8 test (int i)
9 {
10   x = i;
11 }
12 
13 void
bar(int i)14 bar (int i)
15 {
16   test (i);
17 }
18