summaryrefslogtreecommitdiff
path: root/elf/nodelete2.c
blob: b3d7e31a088853eac1966faad63c150fad8e5344 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
#include <stdlib.h>
#include <dlfcn.h>

int
main (void)
{
  void *handle = dlopen ("nodel2mod3.so", RTLD_LAZY);
  if (handle == NULL)
    {
      printf ("%s\n", dlerror ());
      exit (1);
    }
  dlclose (handle);
  exit (1);
}