1 // RUN: %clangxx_msan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s
10 int *uninit
= (int*)malloc(sizeof(int));
12 void *p
= dlopen(0, RTLD_NOW
);
13 assert(p
&& "failed to get handle to executable");
15 // CHECK: MemorySanitizer: use-of-uninitialized-value
16 // CHECK: #0 {{.*}} in main{{.*}}dlopen_executable.cpp:[[@LINE-2]]