gcc/testsuite/g++.dg/compat/decimal/return-5_x.C
raw| 1 | typedef float dec32 __attribute__((mode(SD))); |
| 2 | typedef float dec64 __attribute__((mode(DD))); |
| 3 | typedef float dec128 __attribute__((mode(TD))); |
| 4 | |
| 5 | #include "return_x.h" |
| 6 | |
| 7 | void |
| 8 | return_5_x (void) |
| 9 | { |
| 10 | DEBUG_INIT |
| 11 | |
| 12 | #define T(NAME) testit##NAME (); |
| 13 | |
| 14 | T(d32) |
| 15 | T(d64) |
| 16 | T(d128) |
| 17 | |
| 18 | DEBUG_FINI |
| 19 | |
| 20 | if (fails != 0) |
| 21 | abort (); |
| 22 | |
| 23 | #undef T |
| 24 | } |