diff --git a/compiler-rt/test/asan/TestCases/error_report_callback.cc b/compiler-rt/test/asan/TestCases/error_report_callback.cc index 354369a67c40..8c5bbe418fc5 100644 --- a/compiler-rt/test/asan/TestCases/error_report_callback.cc +++ b/compiler-rt/test/asan/TestCases/error_report_callback.cc @@ -6,6 +6,7 @@ static void ErrorReportCallbackOneToZ(const char *report) { fprintf(stderr, "ABCDEF%sGHIJKL", report); + fflush(stderr); } int main(int argc, char **argv) {