aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c2x-float-8.c
blob: a1b141b05929fe71de2c147dd4c5e86089254a0c (plain)
1
2
3
4
5
6
7
/* Test including <math.h> then <float.h> does not result in errors
   from duplicate NAN and INFINITY macros.  */
/* { dg-do compile } */
/* { dg-options "-std=c23 -pedantic-errors" } */

#include <math.h>
#include <float.h>