diff --git a/compiler-rt/lib/asan/tests/asan_test.cc b/compiler-rt/lib/asan/tests/asan_test.cc index 3eae2584ac31..8bd4eb13c771 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) {