closedir.c 146 Bytes Raw Blame History Permalink 1 2 3 4 5 // 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); }