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

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