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