blob: 026cd2acc46825ccee15d7b1437c0d9881a4a998 [file] [log] [blame]
#include <stdio.h>
extern int foo (void);
extern int bar (void);
void
__attribute__ ((constructor))
init (void)
{
(void) (foo () - bar ());
}
static void
__attribute__ ((destructor))
fini (void)
{
putchar ('2');
}