]>
Commit | Line | Data |
---|---|---|
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; |