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(dirp: 0); } |
6 |
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(dirp: 0); } |
6 |