[ASan/Win] Add a comment about DCL-using-static vs threads
[blocksruntime.git] / test / msan / initgroups.cc
blob94f6cd8252f38e3c584d9b05da70e99956c92dca
1 // RUN: %clangxx_msan -m64 -O0 %s -o %t && %run %t
3 #include <sys/types.h>
4 #include <grp.h>
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;