Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
gcc.dg
/
c2x-float-8.c
blob: b10cb850091aabcc3c3e7ba17b4154cbe118ba82 [
file
] [
log
] [
blame
]
/* Test including <math.h> then <float.h> does not result in errors
from duplicate NAN and INFINITY macros. */
/* { dg-do compile } */
/* { dg-options "-std=c2x -pedantic-errors" } */
#include
<math.h>
#include
<float.h>