#include "stdafx.h"
#using
using namespace System;
class Base {
public:
virtual ~Base() {
Console::WriteLine("Base cleanup");
};
};
class Derived : public Base {
public:
virtual ~Derived() {
Console::WriteLine("Derived cleanup");
};
};
int main(void) {
Derived instance;
return 0;
}