repo.or.cz
/
blocksruntime.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ASan/Win] Add a comment about DCL-using-static vs threads
[blocksruntime.git]
/
test
/
msan
/
initgroups.cc
blob
94f6cd8252f38e3c584d9b05da70e99956c92dca
1
// RUN: %clangxx_msan -m64 -O0 %s -o %t && %run %t
2
3
#include <sys/types.h>
4
#include <grp.h>
5
6
int
main
(
void
) {
7
initgroups
(
"root"
,
0
);
8
// The above fails unless you are root. Does not matter, MSan false positive
9
// (which we are testing for) happens anyway.
10
return
0
;
11
}