summaryrefslogtreecommitdiffstats
path: root/Tests/CustomTransitiveProperties/static1.c
blob: 857595bc3f834e3069667eeda78b7327c92b97b0 (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
#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

int static1(void)
{
  return 0;
}