1 /* Test INFINITY macro. Generic test. */
3 /* { dg-options "-std=c2x -w" } */
4 /* { dg-add-options ieee } */
5 /* { dg-require-effective-target inff } */
10 #error "INFINITY undefined"
13 extern void abort (void);
14 extern void exit (int);
19 (void) _Generic (INFINITY
, float : 0);
20 if (!(INFINITY
>= FLT_MAX
))