/******************************************************************************
Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C/C++.
Code, Compile, Run and Debug online from anywhere in world.
*******************************************************************************/
#include <iostream>
#include <bits/stdc++.h>
class Base
{
public:
Base() {};
virtual ~Base() { std::cout << "Destructor Base\n"; };
};
class Derived : public Base
{
public:
Derived() {};
};
int main()
{
Derived *b = new Derived();
delete b;
return 0;
}
LyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKgoKV2VsY29tZSB0byBHREIgT25saW5lLgpHREIgb25saW5lIGlzIGFuIG9ubGluZSBjb21waWxlciBhbmQgZGVidWdnZXIgdG9vbCBmb3IgQy9DKysuCkNvZGUsIENvbXBpbGUsIFJ1biBhbmQgRGVidWcgb25saW5lIGZyb20gYW55d2hlcmUgaW4gd29ybGQuCgoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqLwojaW5jbHVkZSA8aW9zdHJlYW0+CiNpbmNsdWRlIDxiaXRzL3N0ZGMrKy5oPgoKY2xhc3MgQmFzZQp7CnB1YmxpYzoKCUJhc2UoKSB7fTsKCXZpcnR1YWwgfkJhc2UoKSB7IHN0ZDo6Y291dCA8PCAiRGVzdHJ1Y3RvciBCYXNlXG4iOyB9Owp9OwoKCmNsYXNzIERlcml2ZWQgOiBwdWJsaWMgQmFzZQp7CnB1YmxpYzoKCURlcml2ZWQoKSB7fTsKfTsKCmludCBtYWluKCkKewoJRGVyaXZlZCAqYiA9IG5ldyBEZXJpdmVkKCk7CglkZWxldGUgYjsKCXJldHVybiAwOwp9CgoKICAgIA==