Path: utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!GARP.MIT.EDU!lotus!steveng From: lotus!steveng@GARP.MIT.EDU (Stephen Ng) Newsgroups: gnu.g++.bug Subject: Found compiler hang bug Message-ID: <8904271456.AA18302@lotus.lotus.com> Date: 27 Apr 89 14:55:58 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 21 dear gnu, i found a bug that hangs g++ version 1.34.0. it is: int foo(); class C { friend int foo(); }; bar() { foo(); } io get this to work, remove the first declaration of int foo(). i believe our C++ code is correct; the two declarations are not contradictory. stephen ng