[AA] Rename CaptureInfo -> CaptureAnalysis (NFC) (#116842)
[llvm-project.git] / compiler-rt / test / msan / initgroups.cpp
blob974b1cbaa666357e9a28b8cffb6d7a3c1ad89375
1 // RUN: %clangxx_msan -O0 %s -o %t && %run %t
3 #include <sys/types.h>
4 #include <grp.h>
5 #include <unistd.h> // FreeBSD declares initgroups() here.
7 int main(void) {
8 initgroups("root", 0);
9 // The above fails unless you are root. Does not matter, MSan false positive
10 // (which we are testing for) happens anyway.
11 return 0;