Path: utzoo!telly!ddsw1!mcdchg!rutgers!tut.cis.ohio-state.edu!ulysses.att.com!ekrell From: ekrell@ulysses.att.com Newsgroups: gnu.g++.bug Subject: g++ visibility bug Message-ID: <8809291431.AA18814@hector.homer.nj.att.com> Date: 29 Sep 88 14:31:57 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 8 the following program compiles with g++ 1.27 (and with cfront 1.2), but fails on cfront 2.0 and it's clearly illegal c++ code. class B { private: B(); }; B *foo() {return new B;}