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

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children 1830386684a0
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* { dg-do compile { target { ! { *-*-darwin* hppa*-*-* } } } } */
2 /* { dg-require-effective-target fpic } */
3 /* { dg-options "-fpic" } */
4
5 #if __PIC__ != 1
6 # error __PIC__ is not 1!
7 #endif
8
9 #ifdef __PIE__
10 # error __PIE__ is defined!
11 #endif