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
manual: Move mbstouwcs to an example C file
[glibc.git]
/
dlfcn
/
bug-atexit3-lib.cc
blob
ed3334709acdc0ce262264ff900aaf30e722d759
1
#include <unistd.h>
2
#include <string.h>
3
4
#include <support/support.h>
5
6
struct
statclass
7
{
8
statclass
()
9
{
10
write_message
(
"statclass
\n
"
);
11
}
12
~
statclass
()
13
{
14
write_message
(
"~statclass
\n
"
);
15
}
16
};
17
18
struct
extclass
19
{
20
~
extclass
()
21
{
22
static
statclass var
;
23
}
24
};
25
26
extclass globvar
;