Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / indirect-thunk-attr-16.c
blob737d85d48e8222c748befe819ce77e5ac20665d6
1 /* { dg-do compile { target *-*-linux* } } */
2 /* { dg-options "-O2 -mindirect-branch-register -mfunction-return=keep -fno-pic -fplt -mindirect-branch=keep -fcf-protection=branch" } */
4 extern void (*bar) (void) __attribute__((nocf_check));
6 __attribute__ ((indirect_branch("thunk-extern")))
7 void
8 foo (void)
10 bar ();
13 /* { dg-final { scan-assembler "jmp\[ \t\]*__x86_indirect_thunk_nt_(r|e)" } } */