[AA] Rename CaptureInfo -> CaptureAnalysis (NFC) (#116842)
[llvm-project.git] / compiler-rt / test / msan / ctermid.cpp
bloba2818e63068642e1ec3ed0a9a49b48f469cbd29f
1 // RUN: %clangxx_msan -std=c++11 -O0 %s -o %t && %run %t
3 #include <sanitizer/msan_interface.h>
4 #include <stdio.h>
5 #include <string.h>
7 int main(void) {
8 unsigned char s[L_ctermid + 1];
9 char *res = ctermid((char *)s);
10 if (res)
11 printf("%zd\n", strlen(res));
12 return 0;