1 #include <unistd.h> 2 #include <string.h> 3 4 #include <support/support.h> 5 6 struct statclass 7 { statclassstatclass8 statclass() 9 { 10 write_message ("statclass\n"); 11 } ~statclassstatclass12 ~statclass() 13 { 14 write_message ("~statclass\n"); 15 } 16 }; 17 18 struct extclass 19 { ~extclassextclass20 ~extclass() 21 { 22 static statclass var; 23 } 24 }; 25 26 extclass globvar; 27