about summary refs log tree commit diff
path: root/dlfcn/bug-dlsym1-lib1.c
blob: 4eca2519fb90a1df454271ce092dd950d7f11f22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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;
}