class C { public: int x; }; void test() { C *pc = 0; int k = pc->x; }