1 2 3
struct Foo { virtual ~Foo(); }; struct Bar:public Foo { Bar() { } }; void Func() { new Bar(); }