diff options
Diffstat (limited to 'Tests/RunCMake/Ninja/greeting.c')
-rw-r--r-- | Tests/RunCMake/Ninja/greeting.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/Ninja/greeting.c b/Tests/RunCMake/Ninja/greeting.c new file mode 100644 index 0000000000..ba3e55beb0 --- /dev/null +++ b/Tests/RunCMake/Ninja/greeting.c @@ -0,0 +1,9 @@ +#include <stdio.h> + +#if defined(_WIN32) && !defined(GREETING_STATIC) +__declspec(dllexport) +#endif + void greeting(void) +{ + printf("Hello world!\n"); +} |