]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/cr-decimal-dig-3.c
1 /* Test C2x CR_DECIMAL_DIG: defined for __STDC_WANT_IEC_60559_EXT__. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c2x" } */
5 #define __STDC_WANT_IEC_60559_EXT__
9 #error "CR_DECIMAL_DIG not defined"
12 #if CR_DECIMAL_DIG < DECIMAL_DIG + 3
13 #error "CR_DECIMAL_DIG too small"