Path: 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 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 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(); }