Sign in
third-party-mirror
/
GRTEv4
/
cf41cedf52c87cf4f27c61e4eb8444ecb811ab13
/
.
/
google3
/
third_party
/
grte
/
v4_src
/
glibc-2.19
/
elf
/
tst-initorder2.c
blob: 050f9568b807962a098f158c6dd7222e94c3d1ed [
file
] [
log
] [
blame
]
#include
<stdio.h>
#ifndef
NAME
int
main
(
void
)
{
puts
(
"main"
);
}
#else
static
void
__attribute__
((
constructor
))
init
(
void
)
{
puts
(
"init: "
NAME
);
}
static
void
__attribute__
((
destructor
))
fini
(
void
)
{
puts
(
"fini: "
NAME
);
}
#endif