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 }
12