* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / iec-559-macros-7.c
blob3b1f79172d79925a46342297bb9418fbf6821062
1 /* Test __GCC_IEC_559 and __GCC_IEC_559_COMPLEX macros values. */
2 /* { dg-do preprocess } */
3 /* { dg-options "-fcx-limited-range" } */
5 #ifndef __GCC_IEC_559
6 # error "__GCC_IEC_559 not defined"
7 #endif
8 #ifndef __GCC_IEC_559_COMPLEX
9 # error "__GCC_IEC_559_COMPLEX not defined"
10 #endif
11 #if __GCC_IEC_559_COMPLEX > __GCC_IEC_559
12 # error "__GCC_IEC_559_COMPLEX > __GCC_IEC_559"
13 #endif
14 #if __GCC_IEC_559_COMPLEX < 0
15 # error "__GCC_IEC_559_COMPLEX < 0"
16 #endif
18 #if __GCC_IEC_559_COMPLEX != 0
19 # error "__GCC_IEC_559_COMPLEX != 0 with -fcx-limited-range"
20 #endif