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

#ifdef DO_GNU_TESTS

#  ifndef MY_PRIVATE_DEFINE
#  error Expected MY_PRIVATE_DEFINE
#  endif

#  ifndef MY_PUBLIC_DEFINE
#  error Expected MY_PUBLIC_DEFINE
#  endif

#  ifdef MY_INTERFACE_DEFINE
#  error Unexpected MY_INTERFACE_DEFINE
#  endif

#endif

int main() { return 0; }