summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/struct-by-value-14_x.c
blob: bb8db70721ebac6846d9f0c17ef2ef58321593cd (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(cl, _Complex long)
CHECKS(cl, _Complex long)

TEST(Scl1, _Complex long)
TEST(Scl2, _Complex long)
TEST(Scl3, _Complex long)
TEST(Scl4, _Complex long)
TEST(Scl5, _Complex long)
TEST(Scl6, _Complex long)
TEST(Scl7, _Complex long)
TEST(Scl8, _Complex long)
TEST(Scl9, _Complex long)
TEST(Scl10, _Complex long)
TEST(Scl11, _Complex long)
TEST(Scl12, _Complex long)
TEST(Scl13, _Complex long)
TEST(Scl14, _Complex long)
TEST(Scl15, _Complex long)
TEST(Scl16, _Complex long)
#endif

#undef T

void
struct_by_value_14_x ()
{
#ifndef SKIP_COMPLEX_INT
DEBUG_INIT

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

T(Scl1, _Complex long)
T(Scl2, _Complex long)
T(Scl3, _Complex long)
T(Scl4, _Complex long)
T(Scl5, _Complex long)
T(Scl6, _Complex long)
T(Scl7, _Complex long)
T(Scl8, _Complex long)
T(Scl9, _Complex long)
T(Scl10, _Complex long)
T(Scl11, _Complex long)
T(Scl12, _Complex long)
T(Scl13, _Complex long)
T(Scl14, _Complex long)
T(Scl15, _Complex long)
T(Scl16, _Complex long)

DEBUG_FINI

if (fails != 0)
  abort ();

#undef T
#endif
}