(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
powerpc/
rop-5.c
       1  /* { dg-do compile } */
       2  /* { dg-require-effective-target rop_ok } */
       3  /* { dg-options "-O2 -mdejagnu-cpu=power10 -mrop-protect" } */
       4  
       5  /* Verify that __ROP_PROTECT__ is predefined for -mrop-protect.  */
       6  
       7  int foo ()
       8  {
       9  #ifndef __ROP_PROTECT__
      10    __ROP_PROTECT__ macro is not defined when it should be
      11  #endif
      12    return 0;
      13  }
      14