aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c11-float-6.c
blob: b0381e57884e56867e6aa44d4b22998c3c0556a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* Test *_IS_IEC_60559 not defined for C11.  */
/* { dg-do preprocess } */
/* { dg-options "-std=c11 -pedantic-errors" } */

#include <float.h>

#ifdef FLT_IS_IEC_60559
#error "FLT_IS_IEC_60559 defined"
#endif

#ifdef DBL_IS_IEC_60559
#error "DBL_IS_IEC_60559 defined"
#endif

#ifdef LDBL_IS_IEC_60559
#error "LDBL_IS_IEC_60559 defined"
#endif