summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/dfp/dec-eval-method.c
blob: 070a4033e02803dec15e8b7d4f7fde298d20acd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
                                                                                
/* N1107 4: Characteristics of decimal floating types <float.h>.
   C99 5.2.4.2.2a[2] (New).

   Verify that __DEC_EVAL_METHOD__ is defined; it will be used to define
   DEC_EVAL_METHOD in <float.h>.  */

int i;
#ifndef __DEC_EVAL_METHOD__
#error __DEC_EVAL_METHOD__ is not defined
#endif