aboutsummaryrefslogtreecommitdiff
blob: ac3d4eb716ed487c5d37dfd0f98923f65e82c311 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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;
}