/*
Name: double delete
Copyright:
Author: elprup
Date: 08/10/10 09:18
Description:
*/
#include <cstdlib>
#include <iostream>
using namespace std;
class bar
{
public:
bar():i(0){}
~bar(){cout<<"destrucotr"<<endl;}
int i;
};
int main()
{
bar b;
delete &b;
system("PAUSE");
return 0;
}