diff options
Diffstat (limited to 'llvm/lib/Fuzzer/test/SimpleDictionaryTest.cpp')
| -rw-r--r-- | llvm/lib/Fuzzer/test/SimpleDictionaryTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/test/SimpleDictionaryTest.cpp b/llvm/lib/Fuzzer/test/SimpleDictionaryTest.cpp index a1cd2004722..ffa2e4137bd 100644 --- a/llvm/lib/Fuzzer/test/SimpleDictionaryTest.cpp +++ b/llvm/lib/Fuzzer/test/SimpleDictionaryTest.cpp @@ -10,6 +10,7 @@ #include <cstdlib> #include <cstring> #include <iostream> +#include <ostream> static volatile int Zero = 0; @@ -21,7 +22,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { if (Expected[i] + Zero == Data[i]) Match++; if (Match == strlen(Expected)) { - std::cout << "BINGO; Found the target, exiting\n"; + std::cout << "BINGO; Found the target, exiting\n" << std::flush; exit(1); } return 0; |

