1 /* { dg-do compile { target { ! { *-*-darwin* hppa*-*-* amdgcn*-*-* } } } } */ 2 /* { dg-require-effective-target fpic } */ 3 /* { dg-options "-fpic" } */ 4 5 #if __PIC__ != 1 6 # error __PIC__ is not 1! 7 #endif 8 9 #ifdef __PIE__ 10 # error __PIE__ is defined! 11 #endif 12