1 /* Test TS 18661-1 CR_DECIMAL_DIG. */ 2 /* { dg-do compile } */ 3 /* { dg-options "-std=c11" } */ 4 5 #define __STDC_WANT_IEC_60559_BFP_EXT__ 6 #include <float.h> 7 8 #ifndef CR_DECIMAL_DIG 9 #error "CR_DECIMAL_DIG not defined" 10 #endif 11 12 #if CR_DECIMAL_DIG < DECIMAL_DIG + 3 13 #error "CR_DECIMAL_DIG too small" 14 #endif 15