blob: 3d01ea81d2d750cb4f7209d139b849e86f9edb99 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#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;