aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c23-float-no-dfp-4.c
blob: 270dd3176e043ba5634bbbb34e2962b6a03a7435 (plain)
1
2
3
4
5
6
7
8
9
10
/* Test DFP macros not defined in <float.h> if no DFP support.
   Infinity and NaN macros.  Test with feature test macros
   defined.  */
/* { dg-do compile { target { ! dfp } } } */
/* { dg-options "-std=c23" } */

#define __STDC_WANT_DEC_FP__
#define __STDC_WANT_IEC_60559_DFP_EXT__

#include "c23-float-no-dfp-3.c"