From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22531 invoked by alias); 15 May 2004 03:49:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 22523 invoked by uid 48); 15 May 2004 03:49:40 -0000 Date: Sat, 15 May 2004 18:42:00 -0000 Message-ID: <20040515034940.22522.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040515033804.15453.igodard@pacbell.net> References: <20040515033804.15453.igodard@pacbell.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/15453] Friend declaration not treated as a declaration in scope. X-Bugzilla-Reason: CC X-SW-Source: 2004-05/txt/msg01578.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-15 03:49 ------- I had forgot to give a little better example (which is the one which works for ICC): template class I> class J; template class B> class F { template class I = B> friend class J; template class M = B> friend class N; friend class O; J* j; N* n; O* o; }; int main() { return 0; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15453