class Zlib_init
{
public:
Zlib_init(){} //get Zlib ready for use
~Zlib_init(){} //clean up after Zlib
public:
int j;
};
class Zlib
{
public:
static Zlib_init x;
};
Zlib_init Zlib::x;
int main()
{
Zlib::x.j = 10;
return 0;
}
Y2xhc3MgIFpsaWJfaW5pdCAKeyAgICAKICAgcHVibGljOiAKICAgWmxpYl9pbml0KCl7fSAvL2dldCBabGliIHJlYWR5IGZvciB1c2UgIAogIH5abGliX2luaXQoKXt9ICAgLy9jbGVhbiB1cCBhZnRlciBabGliIAogICBwdWJsaWM6CiAgICAgaW50IGo7Cn07CmNsYXNzIFpsaWIgCnsgIAogICBwdWJsaWM6ICAKICAgc3RhdGljICBabGliX2luaXQgICB4OyAgICAKICAgCn07IAoKWmxpYl9pbml0IFpsaWI6Ong7CgppbnQgbWFpbigpCnsKICAgIFpsaWI6OnguaiA9IDEwOwoKICAgIHJldHVybiAwOwp9Cgo=