comparison gcc/testsuite/gcc.dg/pie-1.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
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