glibc/elf/order2mod4.c

17 lines
160 B
C
Raw Permalink Normal View History

#include <stdio.h>
extern int bar (void);
int
foo (void)
{
return 42 + bar ();
}
static void
__attribute__ ((destructor))
fini (void)
{
putchar ('3');
}