aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c2x-float-8.c
blob: b10cb850091aabcc3c3e7ba17b4154cbe118ba82 (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=c2x -pedantic-errors" } */

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