]> git.ipfire.org Git - thirdparty/glibc.git/blame - dlfcn/bug-atexit3-lib.cc
* dlfcn/dlopen.c (dlopen_doit): Allow __RTLD_SPROF flag.
[thirdparty/glibc.git] / dlfcn / bug-atexit3-lib.cc
CommitLineData
6de1f625
UD
1#include <unistd.h>
2
3struct statclass
4{
5 statclass()
6 {
7 write (1, "statclass\n", 10);
8 }
9 ~statclass()
10 {
11 write (1, "~statclass\n", 11);
12 }
13};
14
15struct extclass
16{
17 ~extclass()
18 {
19 static statclass var;
20 }
21};
22
23extclass globvar;