summaryrefslogtreecommitdiffstats
path: root/Tests/CustomTransitiveProperties/static1.c
blob: 45e950751e59084b586ee389e7d50b6b4b677b59 (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
64
#ifndef CUSTOM_A_IFACE1
#  error "CUSTOM_A_IFACE1 incorrectly not defined"
#endif

#ifndef CUSTOM_A_IFACE2
#  error "CUSTOM_A_IFACE2 incorrectly not defined"
#endif

#ifndef CUSTOM_A_STATIC1
#  error "CUSTOM_A_STATIC1 incorrectly not defined"
#endif

#ifndef CUSTOM_A_TARGET_NAME_STATIC1
#  error "CUSTOM_A_TARGET_NAME_STATIC1 incorrectly not defined"
#endif

#ifndef CUSTOM_A_TARGET_TYPE_STATIC_LIBRARY
#  error "CUSTOM_A_TARGET_TYPE_STATIC_LIBRARY incorrectly not defined"
#endif

#ifndef CUSTOM_B_IFACE1
#  error "CUSTOM_B_IFACE1 incorrectly not defined"
#endif

#ifndef CUSTOM_B_STATIC1
#  error "CUSTOM_B_STATIC1 incorrectly not defined"
#endif

#ifdef CUSTOM_B_STATIC1_IFACE
#  error "CUSTOM_B_STATIC1_IFACE incorrectly defined"
#endif

#ifndef CUSTOM_U_IFACE1
#  error "CUSTOM_U_IFACE1 incorrectly not defined"
#endif

#ifndef CUSTOM_U_IFACE2
#  error "CUSTOM_U_IFACE2 incorrectly not defined"
#endif

#ifndef CUSTOM_U_STATIC1
#  error "CUSTOM_U_STATIC1 incorrectly not defined"
#endif

#ifndef CUSTOM_U_TARGET_NAME_STATIC1
#  error "CUSTOM_U_TARGET_NAME_STATIC1 incorrectly not defined"
#endif

#ifndef CUSTOM_U_TARGET_TYPE_STATIC_LIBRARY
#  error "CUSTOM_U_TARGET_TYPE_STATIC_LIBRARY incorrectly not defined"
#endif

#ifndef CUSTOM_V_IFACE1
#  error "CUSTOM_V_IFACE1 incorrectly not defined"
#endif

#ifndef CUSTOM_V_STATIC1
#  error "CUSTOM_V_STATIC1 incorrectly not defined"
#endif

int static1(void)
{
  return 0;
}