aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/fhardened-13.c
blob: 8722e6d4b1a9fabc2336ed04c3380905f60e02d1 (plain)
1
2
3
4
5
6
/* { dg-do compile { target { { *-*-linux* *-*-gnu* } && pie } } } */
/* { dg-options "-fhardened -O" } */

#if __PIE__ != 2
# error "-fPIE not enabled"
#endif