gcc/testsuite/gcc.target/s390/float_t-2.c
raw| 1 | /* { dg-do run } */ |
| 2 | /* { dg-options "-std=gnu99" } */ |
| 3 | #include <math.h> |
| 4 | #include <stdlib.h> |
| 5 | |
| 6 | int main() |
| 7 | { |
| 8 | /* In gnuXY mode, the size of float_t and FLT_EVAL_METHOD must |
| 9 | match, with the historic exception of permitting double and 0. */ |
| 10 | if (sizeof(float_t) == sizeof(float) && __FLT_EVAL_METHOD__ == 1) |
| 11 | abort(); |
| 12 | return 0; |
| 13 | } |