PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / pic-1.c
blob82ba43da83e707108024ed78b7a9124a29c9b1c9
1 /* { dg-do compile { target { ! { *-*-darwin* hppa*-*-* } } } } */
2 /* { dg-require-effective-target fpic } */
3 /* { dg-options "-fpic" } */
5 #if __PIC__ != 1
6 # error __PIC__ is not 1!
7 #endif
9 #ifdef __PIE__
10 # error __PIE__ is defined!
11 #endif