| 1 |
/* Test DECIMAL_DIG equals LDBL_DECIMAL_DIG; see DR#501 and N2108. */ |
| 2 |
/* { dg-do preprocess } */ |
| 3 |
/* { dg-options "-std=c11 -pedantic-errors" } */ |
| 4 |
|
| 5 |
#include <float.h> |
| 6 |
|
| 7 |
#if DECIMAL_DIG != LDBL_DECIMAL_DIG |
| 8 |
# error "DECIMAL_DIG != LDBL_DECIMAL_DIG" |
| 9 |
#endif |