summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/struct-by-value-11_x.c
blob: cea1ac09688787542024e3f16f7869d6c4e8ad6b (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#include "compat-common.h"

#include "fp-struct-defs.h"
#include "fp-struct-check.h"
#include "fp-struct-test-by-value-x.h"

#ifndef SKIP_COMPLEX_INT
DEFS(cc, _Complex char)
CHECKS(cc, _Complex char)

TEST(Scc1, _Complex char)
TEST(Scc2, _Complex char)
TEST(Scc3, _Complex char)
TEST(Scc4, _Complex char)
TEST(Scc5, _Complex char)
TEST(Scc6, _Complex char)
TEST(Scc7, _Complex char)
TEST(Scc8, _Complex char)
TEST(Scc9, _Complex char)
TEST(Scc10, _Complex char)
TEST(Scc11, _Complex char)
TEST(Scc12, _Complex char)
TEST(Scc13, _Complex char)
TEST(Scc14, _Complex char)
TEST(Scc15, _Complex char)
TEST(Scc16, _Complex char)
#endif

#undef T

void
struct_by_value_11_x ()
{
#ifndef SKIP_COMPLEX_INT
DEBUG_INIT

#define T(TYPE, MTYPE) testit##TYPE ();

T(Scc1, _Complex char)
T(Scc2, _Complex char)
T(Scc3, _Complex char)
T(Scc4, _Complex char)
T(Scc5, _Complex char)
T(Scc6, _Complex char)
T(Scc7, _Complex char)
T(Scc8, _Complex char)
T(Scc9, _Complex char)
T(Scc10, _Complex char)
T(Scc11, _Complex char)
T(Scc12, _Complex char)
T(Scc13, _Complex char)
T(Scc14, _Complex char)
T(Scc15, _Complex char)
T(Scc16, _Complex char)

DEBUG_FINI

if (fails != 0)
  abort ();

#undef T
#endif
}