diff --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/timer.cpp b/compiler-rt/test/sanitizer_common/TestCases/Posix/timer.cpp --- a/compiler-rt/test/sanitizer_common/TestCases/Posix/timer.cpp +++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/timer.cpp @@ -34,5 +34,7 @@ assert(curr_value.it_value.tv_sec <= new_value.it_value.tv_sec); assert(curr_value.it_value.tv_nsec <= new_value.it_value.tv_nsec); + assert(timer_delete(timerid) == 0); + return 0; }