summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/on_error_callback.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/asan/TestCases/on_error_callback.cc')
-rw-r--r--test/asan/TestCases/on_error_callback.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/asan/TestCases/on_error_callback.cc b/test/asan/TestCases/on_error_callback.cc
index 0ad83d549af25..88a4d2dca49fd 100644
--- a/test/asan/TestCases/on_error_callback.cc
+++ b/test/asan/TestCases/on_error_callback.cc
@@ -5,7 +5,8 @@
extern "C"
void __asan_on_error() {
- fprintf(stderr, "__asan_on_error called");
+ fprintf(stderr, "__asan_on_error called\n");
+ fflush(stderr);
}
int main() {