summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Ninja/greeting.c
blob: 1124d14c0f1003973d8426cb2b865779adac5b81 (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>

#if defined(_WIN32) && !defined(GREETING_STATIC)
__declspec(dllexport)
#endif
  void greeting(void)
{
  printf("Hello world!\n");
  fflush(stdout);
}