blob: bccec13934a0f429e447b6df5bcb4b8e3a636e4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* { dg-do compile } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-fPIC" } */
/* { dg-skip-if "__PIC__ is always 1 for MIPS" { mips*-*-* } } */
#if __PIC__ != 2
# error __PIC__ is not 2!
#endif
#ifdef __PIE__
# error __PIE__ is defined!
#endif
|