repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Corrected date in changelog
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
c11-float-2.c
blob
345c2d349b9b285186ee343d0b740ef7dc13202f
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