glibc/elf/nodel2mod1.c

20 lines
154 B
C
Raw Normal View History

2003-01-12 08:52:53 +01:00
#include <stdlib.h>
void
foo (void)
{
exit (0);
}
void
__attribute__((destructor))
bar (void)
{
static int i;
foo ();
++i;
}
void
baz (void)
{
}