summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/lib/asan/lit_tests/TestCases/strerror_r_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/lit_tests/TestCases/strerror_r_test.cc b/compiler-rt/lib/asan/lit_tests/TestCases/strerror_r_test.cc
index 0df009b83f9..d91ad3320af 100644
--- a/compiler-rt/lib/asan/lit_tests/TestCases/strerror_r_test.cc
+++ b/compiler-rt/lib/asan/lit_tests/TestCases/strerror_r_test.cc
@@ -4,10 +4,11 @@
#include <assert.h>
#include <string.h>
+#include <stdio.h>
int main() {
char buf[1024];
char *res = (char *)strerror_r(300, buf, sizeof(buf));
- assert(res != 0);
+ printf("%p\n", res);
return 0;
}
OpenPOWER on IntegriCloud