Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / sanitizer_common / TestCases / NetBSD / gid_from_group.cpp
blobc6a9bc97c1e80d8b7be50e647c882382232a469d
1 // RUN: %clangxx -O0 -g %s -o %t && %run %t
3 #include <grp.h>
4 #include <stdlib.h>
6 int main(void) {
7 gid_t nobody;
9 if (gid_from_group("nobody", &nobody) == -1)
10 exit(1);
12 if (nobody)
13 exit(0);
15 return 0;