| 1 | // RUN: %clangxx_msan -O0 %s -o %t && %run %t |
|---|---|
| 2 | |
| 3 | #include <assert.h> |
| 4 | #include <signal.h> |
| 5 | #include <stdio.h> |
| 6 | #include <string.h> |
| 7 | |
| 8 | int main(void) { |
| 9 | const char *p = strsignal(SIGSEGV); |
| 10 | assert(p); |
| 11 | printf(format: "%s %zu\n", p, strlen(s: p)); |
| 12 | return 0; |
| 13 | } |
| 14 |
