Sign in
third-party-mirror
/
GRTEv5
/
refs/heads/master
/
.
/
google3
/
third_party
/
grte
/
v5_src
/
glibc-2.27
/
elf
/
tst-initorder2.c
blob: 050f9568b807962a098f158c6dd7222e94c3d1ed [
file
] [
log
] [
blame
] [
edit
]
#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