diff options
Diffstat (limited to 'Tests/RunCMake/GenerateExportHeader/includeguard/main.cpp.in')
-rw-r--r-- | Tests/RunCMake/GenerateExportHeader/includeguard/main.cpp.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/GenerateExportHeader/includeguard/main.cpp.in b/Tests/RunCMake/GenerateExportHeader/includeguard/main.cpp.in new file mode 100644 index 0000000..51bd5d9 --- /dev/null +++ b/Tests/RunCMake/GenerateExportHeader/includeguard/main.cpp.in @@ -0,0 +1,10 @@ +#include "@EXPORT_HEADER@" + +int main() +{ +#if defined(@DEF_SYMBOL@) && !defined(@NDEF_SYMBOL@) + return 0; +#else + return 1; +#endif +} |