Files
CMake/Tests/RunCMake/Ninja/greeting2.c
T
Zsolt Parragi 4819ff9647 Tests: fix failures with gnu mode clang on windows
Root causes were:
    * Using incorrect conditions (assuming MSVC-like command line mode)
    * Trying to compile the MSVC STL in C++11 mode, when parts of it require
      C++14 or enabling MS extensions in clang.
    * Missing flush in a testcase using stdout in a dll and a main part
    with static crt
2019-05-24 08:43:42 +02:00

8 lines
93 B
C

#include <stdio.h>
void greeting2(void)
{
printf("Hello world 2!\n");
fflush(stdout);
}