]> sourceware.org Git - glibc.git/blob - dlfcn/bug-atexit3-lib.cc
ed3334709acdc0ce262264ff900aaf30e722d759
[glibc.git] / dlfcn / bug-atexit3-lib.cc
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;
This page took 0.048865 seconds and 6 git commands to generate.