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