Bad destructor results in Internal error in snapshot 19980803
Rolf Fokkens
rolf@flits102-126.flits.rug.nl
Sat Aug 15 06:38:00 GMT 1998
The following piece of code was accepted by egcs-1.0.2 though it has an
error in the destructor. The lastest ecgs-snapshot 19980803 (on Alpha)
detects the error but reports an internal error and urges me to send
this to the mailing-list.
class A {
int Dummy;
public:
A (int pDummy);
~A (void);
};
A::A (int pDummy)
{
Dummy = pDummy;
};
A::~A (int pDummy)
{
};
More information about the Gcc-bugs
mailing list