[asan] Try to fix windows test by fflush(stderr)
authorVitaly Buka <vitalybuka@google.com>
Wed, 20 Sep 2017 07:16:08 +0000 (07:16 +0000)
committerVitaly Buka <vitalybuka@google.com>
Wed, 20 Sep 2017 07:16:08 +0000 (07:16 +0000)
llvm-svn: 313728

compiler-rt/test/asan/TestCases/error_report_callback.cc

index 354369a..8c5bbe4 100644 (file)
@@ -6,6 +6,7 @@
 
 static void ErrorReportCallbackOneToZ(const char *report) {
   fprintf(stderr, "ABCDEF%sGHIJKL", report);
+  fflush(stderr);
 }
 
 int main(int argc, char **argv) {