blob: 8d03792e3e5e16b352dbe184a1a7433fc5980449 [file] [log] [blame]
/* { dg-do run { target { power10_hw } } } */
/* { dg-require-effective-target powerpc_elfv2 } */
/* { dg-options "-O2 -mdejagnu-cpu=power10 -mrop-protect" } */
/* Verify that ROP-protect instructions execute correctly when a
call is present. */
void __attribute__((noipa)) foo ()
{
asm ("");
}
int main ()
{
foo ();
return 0;
}