Index: compiler-rt/test/fuzzer/SimpleTest.cpp =================================================================== --- compiler-rt/test/fuzzer/SimpleTest.cpp +++ compiler-rt/test/fuzzer/SimpleTest.cpp @@ -3,11 +3,9 @@ // Simple test for a fuzzer. The fuzzer must find the string "Hi!". #include -#include #include +#include #include -#include -#include static volatile int Sink; @@ -18,7 +16,8 @@ if (Size > 1 && Data[1] == 'i') { Sink = 2; if (Size > 2 && Data[2] == '!') { - std::cout << "BINGO; Found the target, exiting\n" << std::flush; + printf("BINGO; Found the target, exiting\n"); + fflush(stdout); exit(0); } }