LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / compat / struct-by-value-6a_x.c
blobe6852d9c9b7adf3389d29f7123eaed33082d5bf4
1 #include "compat-common.h"
3 #include "fp-struct-defs.h"
4 #include "fp-struct-check.h"
5 #include "fp-struct-test-by-value-x.h"
7 DEFS(d, double)
8 CHECKS(d, double)
10 TEST(Sd1, double)
11 TEST(Sd2, double)
12 TEST(Sd3, double)
13 TEST(Sd4, double)
14 TEST(Sd5, double)
15 TEST(Sd6, double)
16 TEST(Sd7, double)
17 TEST(Sd8, double)
19 #undef T
21 void
22 struct_by_value_6a_x ()
24 DEBUG_INIT
26 #define T(TYPE, MTYPE) testit##TYPE ();
28 T(Sd1, double)
29 T(Sd2, double)
30 T(Sd3, double)
31 T(Sd4, double)
32 T(Sd5, double)
33 T(Sd6, double)
34 T(Sd7, double)
35 T(Sd8, double)
37 DEBUG_FINI
39 if (fails != 0)
40 abort ();
42 #undef T