1extern int r; 2void *p; 3 4#include "ctor2.h" 5 6VBase::VBase () 7{ 8 p = this; 9} 10 11VBase::~VBase () 12{ 13 if (p != this) r = 1; 14} 15 16Stream::Stream () {} 17DerivedStream::DerivedStream () 18{ 19 throw 1; 20} 21