From 55b69ac7beb83b7c02a1d68fd84577cb3492772a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 12 Mar 2007 19:44:58 +0000 Subject: make sure undefine references in dlopen()-ed libs are handled graciously --- test/dlopen/libundef.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'test/dlopen/libundef.c') 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 - -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 */ -- cgit v1.2.3