diff options
Diffstat (limited to 'test/sanitizer_common/TestCases/NetBSD/faccessat.cc')
-rw-r--r-- | test/sanitizer_common/TestCases/NetBSD/faccessat.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/sanitizer_common/TestCases/NetBSD/faccessat.cc b/test/sanitizer_common/TestCases/NetBSD/faccessat.cc new file mode 100644 index 000000000000..ae8be1962b8c --- /dev/null +++ b/test/sanitizer_common/TestCases/NetBSD/faccessat.cc @@ -0,0 +1,6 @@ +// RUN: %clangxx -O0 -g %s -o %t && %run %t + +#include <fcntl.h> +#include <unistd.h> + +int main(void) { return faccessat(AT_FDCWD, "/root", F_OK, 0); } |