This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/6839: ICE on illegal explicit member function instantiationsyntax
- From: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
- To: gcc-bugs at gcc dot gnu dot org, <gcc-gnats at gcc dot gnu dot org>
- Date: Thu, 31 Oct 2002 13:21:16 -0600 (CST)
- Subject: Re: c++/6839: ICE on illegal explicit member function instantiationsyntax
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