xref: /llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/access.cpp (revision 74989aff5351beaeb03f46fc2fe57752d57f848b)
1 // RUN: %clangxx -O0 -g %s -o %t && %run %t
2 
3 #include <unistd.h>
4 
main(void)5 int main(void) { return access("/dev/null", F_OK); }
6