summaryrefslogtreecommitdiff
path: root/Tests/CMakeCommands/target_compile_options/consumer.cpp
blob: 12996065bc30d17a05b1cd970a05633e02928205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#ifdef DO_GNU_TESTS

#  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

#endif

int main() { return 0; }