class A
{
public:
void test(){printf("test %d", x);}
int x;
};
int main()
{
A *a;
A *aa = new A;
a->test();
aa->test();
}
Y2xhc3MgQQp7CiAgcHVibGljOgogIHZvaWQgdGVzdCgpe3ByaW50ZigidGVzdCAlZCIsIHgpO30KICBpbnQgeDsKfTsKCmludCBtYWluKCkKewogIEEgKmE7CiAgQSAqYWEgPSBuZXcgQTsKICBhLT50ZXN0KCk7CiAgYWEtPnRlc3QoKTsKfQo=