aboutsummaryrefslogtreecommitdiff
blob: fc24a7b17231f16d1f8876f2f4229a85520316c6 (plain)
1
2
3
4
5
6
7
8
9
int var1 = 42;

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