1 // RUN: %clangxx_msan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s
3 #include <linux/prctl.h>
7 prctl(PR_SET_NAME
, "tname");
9 prctl(PR_GET_NAME
, name
);
14 if (name
[5] != '\0') {
17 if (name
[6] != '\0') {
20 // CHECK: SUMMARY: MemorySanitizer: use-of-uninitialized-value {{.*prctl.cpp}}:[[@LINE-3]]