summaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/cpp/pr45457.c
blob: 14879cd7953a15d4f38d11e7e5d03e91562df995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* PR preprocessor/45457 */
/* { dg-do compile } */

const char *a =
#ifdef __DBL_DENORM_MIN__                                                                                                                         
"a"
#endif                                                                                                                                            
#if defined(__DBL_EPSILON__)
"b"
#endif
#ifndef __DBL_MAX__
"c"
#endif
#if !defined(__DBL_MIN__)
"d"
#endif
;
double b = __DBL_DENORM_MIN__ + __DBL_EPSILON__ + __DBL_MAX__ + __DBL_MIN__;