summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/lib/asan/tests/asan_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/tests/asan_test.cc b/compiler-rt/lib/asan/tests/asan_test.cc
index 3eae2584ac3..8bd4eb13c77 100644
--- a/compiler-rt/lib/asan/tests/asan_test.cc
+++ b/compiler-rt/lib/asan/tests/asan_test.cc
@@ -1643,6 +1643,7 @@ TEST(AddressSanitizer, ThreadedStressStackReuseTest) {
static void *PthreadExit(void *a) {
pthread_exit(0);
+ return 0;
}
TEST(AddressSanitizer, PthreadExitTest) {
OpenPOWER on IntegriCloud