testsuite: Revert to the original version of pr100056.c
[official-gcc.git] / gcc / testsuite / gcc.dg / compat / struct-by-value-16_x.c
blob05e36fe26c0640f4d31e33f3bcb8922e80e7f984
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
8 DEFS(cf, _Complex float)
9 CHECKS(cf, _Complex float)
11 TEST(Scf1, _Complex float)
12 TEST(Scf2, _Complex float)
13 TEST(Scf3, _Complex float)
14 TEST(Scf4, _Complex float)
15 TEST(Scf5, _Complex float)
16 TEST(Scf6, _Complex float)
17 TEST(Scf7, _Complex float)
18 TEST(Scf8, _Complex float)
19 TEST(Scf9, _Complex float)
20 TEST(Scf10, _Complex float)
21 TEST(Scf11, _Complex float)
22 TEST(Scf12, _Complex float)
23 #endif
25 #undef T
27 void
28 struct_by_value_16_x ()
30 DEBUG_INIT
32 #define T(TYPE, MTYPE) testit##TYPE ();
34 #ifndef SKIP_COMPLEX
35 T(Scf1, _Complex float)
36 T(Scf2, _Complex float)
37 T(Scf3, _Complex float)
38 T(Scf4, _Complex float)
39 T(Scf5, _Complex float)
40 T(Scf6, _Complex float)
41 T(Scf7, _Complex float)
42 T(Scf8, _Complex float)
43 T(Scf9, _Complex float)
44 T(Scf10, _Complex float)
45 T(Scf11, _Complex float)
46 T(Scf12, _Complex float)
47 #endif
49 DEBUG_FINI
51 if (fails != 0)
52 abort ();
54 #undef T