repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
compiler-rt
/
test
/
msan
/
fstat64.cpp
blob
8e3a6d553bfcf93b252cad47834aa56a471e1d3a
1
// REQUIRES: linux
2
// RUN: %clangxx_msan -O0 %s -o %t && %run %t
3
4
#include <stdlib.h>
5
#include <sys/stat.h>
6
7
int
main
(
void
) {
8
struct
stat64 st
;
9
if
(
fstat64
(
0
, &
st
))
10
exit
(
1
);
11
12
if
(
S_ISBLK
(
st
.
st_mode
))
13
exit
(
0
);
14
15
return
0
;
16
}