Sign in
nest-open-source
/
nest-cam
/
v366
/
glibc
/
refs/heads/main
/
.
/
elf
/
order2mod2.c
blob: 026cd2acc46825ccee15d7b1437c0d9881a4a998 [
file
] [
log
] [
blame
] [
edit
]
#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'
);
}