Debian Codegraph @

gcc/testsuite/gcc.dg/c23-float-11.c

raw
1 /* Test INFINITY macro. Test when infinities not supported. */
2 /* { dg-do compile { target { ! inff } } } */
3 /* { dg-options "-std=c23" } */
4
5 #include <float.h>
6
7 #ifdef INFINITY
8 #error "INFINITY defined"
9 #endif