1 /* { dg-do compile } */
2 /* { dg-require-effective-target fpic } */
3 /* { dg-options "-fPIC" } */
4 /* { dg-skip-if "__PIC__ is always 1 for MIPS" { mips*-*-* } } */
5 /* { dg-skip-if "__PIE__ is always defined for GCN" { amdgcn*-*-* } } */
8 # error __PIC__ is not 2!
12 # error __PIE__ is defined!