Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / msan / strsignal.cpp
blob62b68e00b9e7193d92d0c4314e3a2b3040715cde
1 // RUN: %clangxx_msan -O0 %s -o %t && %run %t
3 #include <assert.h>
4 #include <signal.h>
5 #include <stdio.h>
6 #include <string.h>
8 int main(void) {
9 const char *p = strsignal(SIGSEGV);
10 assert(p);
11 printf("%s %zu\n", p, strlen(p));
12 return 0;