diff options
Diffstat (limited to 'REORG.TODO/dlfcn/bug-dlsym1-lib1.c')
-rw-r--r-- | REORG.TODO/dlfcn/bug-dlsym1-lib1.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/REORG.TODO/dlfcn/bug-dlsym1-lib1.c b/REORG.TODO/dlfcn/bug-dlsym1-lib1.c new file mode 100644 index 0000000000..4eca2519fb --- /dev/null +++ b/REORG.TODO/dlfcn/bug-dlsym1-lib1.c @@ -0,0 +1,11 @@ +/* Test module for bug-dlsym1.c test case. */ + +extern int dlopen_test_variable; + +extern char foo (void); + +/* here to get the unresolved symbol in our .so */ +char foo(void) +{ + return dlopen_test_variable; +} |