diff options
Diffstat (limited to 'compiler-rt')
-rw-r--r-- | compiler-rt/lib/asan/lit_tests/TestCases/Linux/shmctl.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/lit_tests/TestCases/Linux/shmctl.cc b/compiler-rt/lib/asan/lit_tests/TestCases/Linux/shmctl.cc index 9638cedecb2..2de14776c92 100644 --- a/compiler-rt/lib/asan/lit_tests/TestCases/Linux/shmctl.cc +++ b/compiler-rt/lib/asan/lit_tests/TestCases/Linux/shmctl.cc @@ -14,4 +14,5 @@ int main() { assert(res > -1); printf("shm_segsz: %zd\n", ds.shm_segsz); assert(ds.shm_segsz == 4096); + assert(-1 != shmctl(id, IPC_RMID, 0)); } |