* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / dfp / dec-eval-method-2.c
blobb87f159bf3b63dbf2391c099946dee722598f11b
1 /* { dg-do compile } */
2 /* { dg-options "-D__STDC_WANT_DEC_FP__" } */
4 /* N1107 4: Characteristics of decimal floating types <float.h>.
5 C99 5.2.4.2.2a[2] (New).
7 Verify that DEC_EVAL_METHOD is defined by float.h.
8 DEC_EVAL_METHOD in <float.h>. */
10 #ifdef DEC_EVAL_METHOD
11 #error DEC_EVAL_METHOD is defined before float.h is included
12 #endif
14 #include <float.h>
16 #ifndef DEC_EVAL_METHOD
17 #error DEC_EVAL_METHOD is not defined after float.h is included
18 #endif
20 int i;