Article View: gnu.g++.bug
Article #498front end bug
From: Kenneth Newman
Date: Thu, 12 Oct 1989 16:40
Date: Thu, 12 Oct 1989 16:40
18 lines
685 bytes
685 bytes
The following program run with version 1.35.0 on a Sun 3/140-M8
using Sun UNIX 4.2 Release 3.4 printed "E" not "D".
#include <stream.h>
class D {
public:
void f(){cout << "D\n";}
int y;
};
class E : public D{
public:
void f(){cout << "E\n";}
};
main(){
E w;
w.D::f();
}
Technical Details
Message-ID:
<8910121640.AA12659@grn.umb.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!grn.umb.edu!kwnShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!grn.umb.edu!kwn From: kwn@grn.umb.edu (Kenneth Newman) Newsgroups: gnu.g++.bug Subject: front end bug Message-ID: <8910121640.AA12659@grn.umb.edu> Date: 12 Oct 89 16:40:01 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 18