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

#ifdef __PIC__
# error __PIC__ is defined!
#endif

#ifdef __PIE__
# error __PIE__ is defined!
#endif