repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
malloc: Add realloc test.
[glibc.git]
/
elf
/
reldep9mod1.c
blob
249a2bae1c2ffc38c63acd54d6caf5afbcf6fd79
1
#include <stdlib.h>
2
void
3
foo
(
void
)
4
{
5
exit
(
0
);
6
}
7
8
void
9
__attribute__
((
destructor
))
10
bar
(
void
)
11
{
12
static int
i
;
13
foo
();
14
++
i
;
15
}
16
17
void
18
__attribute__
((
constructor
))
19
destr
(
void
)
20
{
21
extern
void
baz
(
void
);
22
baz
();
23
}