1 2 3 4 5 6 7 8 9 10 11 12 13
class C1 { public: virtual ~C1() { } }; class C2 : public C1 { public: C2(void *q); virtual void A(); }; int main(int argc, char **argv) { C2 h(0); return 0; }