summaryrefslogtreecommitdiff
path: root/lib/msan/lit_tests/dlerror.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msan/lit_tests/dlerror.cc')
-rw-r--r--lib/msan/lit_tests/dlerror.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/msan/lit_tests/dlerror.cc b/lib/msan/lit_tests/dlerror.cc
deleted file mode 100644
index 281b3164fd7e9..0000000000000
--- a/lib/msan/lit_tests/dlerror.cc
+++ /dev/null
@@ -1,14 +0,0 @@
-// RUN: %clangxx_msan -m64 -O0 %s -o %t && %t
-
-#include <assert.h>
-#include <dlfcn.h>
-#include <stdio.h>
-#include <string.h>
-
-int main(void) {
- void *p = dlopen("/bad/file/name", RTLD_NOW);
- assert(!p);
- char *s = dlerror();
- printf("%s, %zu\n", s, strlen(s));
- return 0;
-}