LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / compat / struct-by-value-12_x.c
blob925ce9270b9ebfa17c7fc9db89eabfb9995dad13
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 #ifndef SKIP_COMPLEX_INT
8 DEFS(cs, _Complex short)
9 CHECKS(cs, _Complex short)
11 TEST(Scs1, _Complex short)
12 TEST(Scs2, _Complex short)
13 TEST(Scs3, _Complex short)
14 TEST(Scs4, _Complex short)
15 TEST(Scs5, _Complex short)
16 TEST(Scs6, _Complex short)
17 TEST(Scs7, _Complex short)
18 TEST(Scs8, _Complex short)
19 TEST(Scs9, _Complex short)
20 TEST(Scs10, _Complex short)
21 TEST(Scs11, _Complex short)
22 TEST(Scs12, _Complex short)
23 TEST(Scs13, _Complex short)
24 TEST(Scs14, _Complex short)
25 TEST(Scs15, _Complex short)
26 TEST(Scs16, _Complex short)
27 #endif
29 #undef T
31 void
32 struct_by_value_12_x ()
34 #ifndef SKIP_COMPLEX_INT
35 DEBUG_INIT
37 #define T(TYPE, MTYPE) testit##TYPE ();
39 T(Scs1, _Complex short)
40 T(Scs2, _Complex short)
41 T(Scs3, _Complex short)
42 T(Scs4, _Complex short)
43 T(Scs5, _Complex short)
44 T(Scs6, _Complex short)
45 T(Scs7, _Complex short)
46 T(Scs8, _Complex short)
47 T(Scs9, _Complex short)
48 T(Scs10, _Complex short)
49 T(Scs11, _Complex short)
50 T(Scs12, _Complex short)
51 T(Scs13, _Complex short)
52 T(Scs14, _Complex short)
53 T(Scs15, _Complex short)
54 T(Scs16, _Complex short)
56 DEBUG_FINI
58 if (fails != 0)
59 abort ();
61 #undef T
62 #endif