summaryrefslogtreecommitdiff
path: root/test/dlopen/libundef.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-12 19:44:58 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-12 19:44:58 +0000
commit55b69ac7beb83b7c02a1d68fd84577cb3492772a (patch)
tree97f3cceb3bbde09f5be3369ff40a03deca1726d6 /test/dlopen/libundef.c
parent458e37f68e1836e456e1b6a4e383f53476a0c2f1 (diff)
make sure undefine references in dlopen()-ed libs are handled graciously
Diffstat (limited to 'test/dlopen/libundef.c')
-rw-r--r--test/dlopen/libundef.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/test/dlopen/libundef.c b/test/dlopen/libundef.c
index bf44c3c68..39b58df27 100644
--- a/test/dlopen/libundef.c
+++ b/test/dlopen/libundef.c
@@ -1,15 +1 @@
-#include <stdio.h>
-
-static int global_static = -1;
-
-int static_test(void)
-{
- static int local_static = -2;
-
- if (global_static != -1)
- printf("FAIL: global_static is not -1\n");
- if (local_static != -2)
- printf("FAIL: local_static is not -2\n");
-
- return (global_static == -1 && local_static == -2);
-}
+/* the actual contents doesnt matter */