summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c11-float-2.c
blob: 345c2d349b9b285186ee343d0b740ef7dc13202f (plain)
1
2
3
4
5
6
7
8
9
/* Test DECIMAL_DIG equals LDBL_DECIMAL_DIG; see DR#501 and N2108.  */
/* { dg-do preprocess } */
/* { dg-options "-std=c11 -pedantic-errors" } */

#include <float.h>

#if DECIMAL_DIG != LDBL_DECIMAL_DIG
# error "DECIMAL_DIG != LDBL_DECIMAL_DIG"
#endif