mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-18 19:10:06 +00:00
19 lines
236 B
C
19 lines
236 B
C
|
#include <dlfcn.h>
|
||
|
|
||
|
#define main array1_main
|
||
|
#include "tst-array1.c"
|
||
|
#undef main
|
||
|
|
||
|
int
|
||
|
main (void)
|
||
|
{
|
||
|
void *handle = dlopen ("tst-array2dep.so", RTLD_LAZY);
|
||
|
|
||
|
array1_main ();
|
||
|
|
||
|
if (handle != NULL)
|
||
|
dlclose (handle);
|
||
|
|
||
|
return 0;
|
||
|
}
|