This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/2570


The following reply was made to PR c++/2570; it has been noted by GNATS.

From: Wolfgang Bangerth <bangerth@ices.utexas.edu>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c++/2570
Date: Mon, 5 May 2003 20:28:55 -0500 (CDT)

 Here's basically the same testcase as in the attachment:
 --------------------------
 class SmashGCC {};
 
 template <class T> struct Outer {
   struct Inner;
 };
 
 template <class T>
 struct Outer<T>::Inner : SmashGCC;
 ---------------------------
 
 g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ x.cc
 x.cc:8: error: expected `{'
 x.cc:8: internal compiler error: in poplevel, at cp/decl.c:1229
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See <URL:http://gcc.gnu.org/bugs.html> for instructions.
 
 W.
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]