aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pie-4.c
blob: 5523602abe0583f8a9a3d4d0361e0c57e067b1e8 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile { target { ! { *-*-darwin* hppa*64*-*-* mips*-*-linux-* amdgcn*-*-* } } } } */
/* { dg-options "-fno-PIE" } */

#ifdef __PIC__
# error __PIC__ is defined!
#endif

#ifdef __PIE__
# error __PIE__ is defined!
#endif