Restore DECIMAL_DIG macro to C99/C11 value.
[official-gcc.git] / gcc / testsuite / gcc.dg / c11-float-2.c
blob345c2d349b9b285186ee343d0b740ef7dc13202f
1 /* Test DECIMAL_DIG equals LDBL_DECIMAL_DIG; see DR#501 and N2108. */
2 /* { dg-do preprocess } */
3 /* { dg-options "-std=c11 -pedantic-errors" } */
5 #include <float.h>
7 #if DECIMAL_DIG != LDBL_DECIMAL_DIG
8 # error "DECIMAL_DIG != LDBL_DECIMAL_DIG"
9 #endif