1 /* Test __GCC_IEC_559 and __GCC_IEC_559_COMPLEX macros values. */
2 /* { dg-do preprocess { target i?86-*-linux* x86_64-*-linux* powerpc*-*-linux* } } */
3 /* { dg-options "-std=c11" } */
6 # error "__GCC_IEC_559 not defined"
8 #ifndef __GCC_IEC_559_COMPLEX
9 # error "__GCC_IEC_559_COMPLEX not defined"
11 #if __GCC_IEC_559_COMPLEX > __GCC_IEC_559
12 # error "__GCC_IEC_559_COMPLEX > __GCC_IEC_559"
14 #if __GCC_IEC_559_COMPLEX < 0
15 # error "__GCC_IEC_559_COMPLEX < 0"
19 # error "__GCC_IEC_559 < 2"
21 #if __GCC_IEC_559_COMPLEX < 2
22 # error "__GCC_IEC_559_COMPLEX < 2"