Sign in
cobalt
/
cobalt
/
5ac52c483642b4db38dbd342c3c4978c98971a6e
/
.
/
src
/
third_party
/
llvm-project
/
compiler-rt
/
test
/
sanitizer_common
/
TestCases
/
Linux
/
closedir.c
blob: 990628db4027358af374554680d10feb868563fe [
file
] [
log
] [
blame
]
// Check that closedir(NULL) is ok.
// RUN: %clang -O2 %s -o %t && %run %t
#include
<sys/types.h>
#include
<dirent.h>
int
main
()
{
closedir
(
0
);
}