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++/6839: ICE on illegal explicit member function instantiationsyntax


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

From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: gcc-bugs@gcc.gnu.org, <gcc-gnats@gcc.gnu.org>
Cc:  
Subject: Re: c++/6839: ICE on illegal explicit member function instantiation
 syntax
Date: Thu, 31 Oct 2002 13:21:16 -0600 (CST)

 A minimal example for this ICE in all gcc versions is of course
 -------------------------------
 template <typename T> class X {
     void f(){};
 };
 template void X<int>::f;
 -------------------------------
 
 Note the missing parentheses in the explicit instantiation.
 W.
 
 -------------------------------------------------------------------------
 Wolfgang Bangerth              email:           bangerth@ticam.utexas.edu
                                www: http://www.ticam.utexas.edu/~bangerth
 
 


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