(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pic-3.c
       1  /* { dg-do compile { target { ! { *-*-darwin* hppa*64*-*-* mips*-*-linux-* amdgcn*-*-* } } } } */
       2  /* { dg-options "-fno-pic" } */
       3  
       4  #if defined(__CYGWIN__) || defined(__WIN32__)
       5  # if __PIC__ != 1
       6  #  error __PIC__ is not 1!
       7  # endif
       8  #elif __PIC__
       9  # error __PIC__ is defined!
      10  #endif
      11  
      12  #ifdef __PIE__
      13  # error __PIE__ is defined!
      14  #endif