summaryrefslogtreecommitdiff
path: root/test/dlopen/nodelmod2.c
blob: ff2ffc2fc4232e74d07dca4b5cb27830fad869f1 (plain)
1
2
3
4
5
6
7
8
9
10
extern int fini_ran;

int var2 = 100;

static void
__attribute__ ((__destructor__))
destr (void)
{
  fini_ran = 1;
}