aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/compat/decimal/pass-3_x.C
blob: 17e4d1c8b5a34626e77cdf4e606edfc26902b5fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
typedef float dec32 __attribute__((mode(SD)));
typedef float dec64 __attribute__((mode(DD)));
typedef float dec128 __attribute__((mode(TD)));

#include "pass_x.h"

void
pass_3_x (void)
{
DEBUG_INIT

#define T(NAME) testit##NAME ();

#ifndef SKIP_DECIMAL32
T(d32)
#endif
#ifndef SKIP_DECIMAL64
T(d64)
#endif
#ifndef SKIP_DECIMAL128
T(d128)
#endif

DEBUG_FINI

if (fails != 0)
  abort ();

#undef T
}