gcc/testsuite/gcc.dg/dfp/dec-eval-method.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-std=gnu99" } */ |
| 3 | |
| 4 | /* N1107 4: Characteristics of decimal floating types <float.h>. |
| 5 | C99 5.2.4.2.2a[2] (New). |
| 6 | |
| 7 | Verify that __DEC_EVAL_METHOD__ is defined; it will be used to define |
| 8 | DEC_EVAL_METHOD in <float.h>. */ |
| 9 | |
| 10 | int i; |
| 11 | #ifndef __DEC_EVAL_METHOD__ |
| 12 | #error __DEC_EVAL_METHOD__ is not defined |
| 13 | #endif |