Sign in
llvm
/
llvm-project
/
cf3422d3df5b00d771bba837b9f51f67ab07eb64
/
.
/
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
);
}