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
Use calloc to allocate xports (BZ #17542)
[glibc.git]
/
dlfcn
/
bug-atexit3-lib.cc
blob
3d01ea81d2d750cb4f7209d139b849e86f9edb99
1
#include <unistd.h>
2
3
struct
statclass
4
{
5
statclass
()
6
{
7
write
(
1
,
"statclass
\n
"
,
10
);
8
}
9
~
statclass
()
10
{
11
write
(
1
,
"~statclass
\n
"
,
11
);
12
}
13
};
14
15
struct
extclass
16
{
17
~
extclass
()
18
{
19
static
statclass var
;
20
}
21
};
22
23
extclass globvar
;