From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30496 invoked by alias); 21 Feb 2007 18:24:31 -0000 Received: (qmail 30402 invoked by uid 48); 21 Feb 2007 18:24:14 -0000 Date: Wed, 21 Feb 2007 18:24:00 -0000 Subject: [Bug c++/30917] New: ICE with friend in local class (to a function) X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-02/txt/msg02494.txt.bz2 Testcase: unsigned count() { class QGListIterator { friend class QGList; QGListIterator( const QGList & ); }; } -------- I think this is valid code. -- Summary: ICE with friend in local class (to a function) Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30917