☰
Debian Codegraph
@
1:21.1.8-7
1:21.1.8-13
1:21.1.8-12
1:21.1.8-11
1:21.1.8-10
/
/
compiler-rt
/
test
/
sanitizer_common
/
TestCases
/
Linux
/
closedir.c
☽
☼
compiler-rt/test/sanitizer_common/TestCases/Linux/closedir.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// Check that closedir(NULL) is ok.
2
// RUN: %clang -O2 %s -o %t && %run %t
3
#include <sys/types.h>
4
#include <dirent.h>
5
int main() { closedir(0); }