Sign in
cobalt
/
cobalt
/
61a8495e1e0485bd40f613004bf29f8a925ab37c
/
.
/
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
);
}