[libc] Switch to using the generic `<gpuintrin.h>` implementations (#121810)
[llvm-project.git] / compiler-rt / test / msan / stat64.cpp
bloba1280a0de37d2ecc00b9db0e1e127bd178da3d7f
1 // REQUIRES: linux
2 // RUN: %clangxx_msan -O0 %s -o %t && %run %t
4 #include <cassert>
5 #include <cstdlib>
6 #include <sys/stat.h>
8 int main(void) {
9 struct stat64 st;
10 if (stat64("/dev/null", &st))
11 exit(1);
13 assert(S_ISCHR(st.st_mode));
15 return 0;