glibc/elf/order2mod4.c

17 lines
160 B
C
Raw Normal View History

2022-05-13 23:30:52 +08:00
#include <stdio.h>
extern int bar (void);
int
foo (void)
{
return 42 + bar ();
}
static void
__attribute__ ((destructor))
fini (void)
{
putchar ('3');
}