diff options
Diffstat (limited to 'gcc/testsuite/c-c++-common/cpp/pr45457.c')
-rw-r--r-- | gcc/testsuite/c-c++-common/cpp/pr45457.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc/testsuite/c-c++-common/cpp/pr45457.c b/gcc/testsuite/c-c++-common/cpp/pr45457.c new file mode 100644 index 00000000000..14879cd7953 --- /dev/null +++ b/gcc/testsuite/c-c++-common/cpp/pr45457.c @@ -0,0 +1,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__; |