summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands/target_compile_definitions/consumer.cpp
blob: c077593583e5022df62f0b0b1f3d46ed8690ff66 (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

#ifdef MY_PRIVATE_DEFINE
#error Unexpected MY_PRIVATE_DEFINE
#endif

#ifndef MY_PUBLIC_DEFINE
#error Expected MY_PUBLIC_DEFINE
#endif

#ifndef MY_INTERFACE_DEFINE
#error Expected MY_INTERFACE_DEFINE
#endif

#ifdef SHOULD_NOT_BE_DEFINED
#error Unexpected SHOULD_NOT_BE_DEFINED
#endif

#ifndef SHOULD_BE_DEFINED
#error Expected SHOULD_BE_DEFINED
#endif

#ifndef DASH_D_DEFINE
#error Expected DASH_D_DEFINE
#endif

#ifndef MY_LINKED_DEFINE
#error Expected MY_LINKED_DEFINE
#endif

int main() { return 0; }