2018-06-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pie-1.c
blob3f6e3716682ee6a43b3c9f0a441cffc6bc2d6b9a
1 /* { dg-do compile { target { ! { *-*-darwin* hppa*-*-* } } } } */
2 /* { dg-options "-fpie" } */
3 /* { dg-require-effective-target pie } */
5 #if __PIC__ != 1
6 # error __PIC__ is not 1!
7 #endif
9 #if __PIE__ != 1
10 # error __PIE__ is not 1!
11 #endif