blob: 04537702d091ed9cf4b16187dda0c1d032877d76 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -fcf-protection" } */
/* { dg-final { scan-assembler-not "jmp" } } */
struct ucontext;
extern int (*bar) (struct ucontext *) __attribute__((__indirect_return__));
int
foo (struct ucontext *oucp)
{
return bar (oucp);
}