PR rtl-optimization/87918
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr82659-3.c
blob3bb83e309e7f0b205662c6835ef025c8da394f7f
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fcf-protection" } */
3 /* { dg-final { scan-assembler-times {\mendbr} 2 } } */
5 extern int x;
7 static void
8 __attribute__ ((noinline, noclone))
9 test (int i)
11 x = i;
14 extern __typeof (test) foo __attribute__ ((alias ("test")));
16 void
17 bar (int i)
19 test (i);