gcc/testsuite/gcc.dg/c23-float-no-dfp-4.c
raw| 1 | /* Test DFP macros not defined in <float.h> if no DFP support. |
| 2 | Infinity and NaN macros. Test with feature test macros |
| 3 | defined. */ |
| 4 | /* { dg-do compile { target { ! dfp } } } */ |
| 5 | /* { dg-options "-std=c23" } */ |
| 6 | |
| 7 | #define __STDC_WANT_DEC_FP__ |
| 8 | #define __STDC_WANT_IEC_60559_DFP_EXT__ |
| 9 | |
| 10 | #include "c23-float-no-dfp-3.c" |