LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / nextafter-2.c
blob0bde721b338a637101c87c0af012759100ac7a82
1 /* PR libstdc++/85466 */
2 /* { dg-do run } */
3 /* { dg-require-effective-target c99_runtime } */
4 /* { dg-options "-O2 -fno-builtin" } */
5 /* { dg-add-options ieee } */
6 /* { dg-add-options c99_runtime } */
8 #include <stdlib.h>
10 #if defined(__GLIBC__) && defined(__GLIBC_PREREQ)
11 # if !__GLIBC_PREREQ (2, 24)
12 /* Workaround buggy nextafterl in glibc 2.23 and earlier,
13 see https://sourceware.org/bugzilla/show_bug.cgi?id=20205 */
14 # define NO_LONG_DOUBLE 1
15 # endif
16 #endif
17 #include "nextafter-1.c"