blob: ac3d4eb716ed487c5d37dfd0f98923f65e82c311 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#include <dlfcn.h>
2
3#define main array1_main
4#include "tst-array1.c"
5#undef main
6
7int
8main (void)
9{
10 void *handle = dlopen ("tst-array2dep.so", RTLD_LAZY);
11
12 array1_main ();
13
14 if (handle != NULL)
15 dlclose (handle);
16
17 return 0;
18}