[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / cr-decimal-dig-1.c
blob2bbc40c1eaa75d5b721f10b0047a7d75013762f9
1 /* Test TS 18661-1 CR_DECIMAL_DIG. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c11" } */
5 #define __STDC_WANT_IEC_60559_BFP_EXT__
6 #include <float.h>
8 #ifndef CR_DECIMAL_DIG
9 #error "CR_DECIMAL_DIG not defined"
10 #endif
12 #if CR_DECIMAL_DIG < DECIMAL_DIG + 3
13 #error "CR_DECIMAL_DIG too small"
14 #endif