LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / pie-2.c
blob1838745a11a111bbea464f3ce8c91af051c723ca
1 /* { dg-do compile } */
2 /* { dg-options "-fPIE" } */
3 /* { dg-require-effective-target pie } */
4 /* { dg-skip-if "__PIC__ is always 1 for MIPS" { mips*-*-* } } */
6 #if __PIC__ != 2
7 # error __PIC__ is not 2!
8 #endif
10 #if __PIE__ != 2
11 # error __PIE__ is not 2!
12 #endif