c++/6839: ICE on illegal explicit member function instantiation syntax
Wolfgang Bangerth
bangerth@ticam.utexas.edu
Thu Oct 31 11:26:00 GMT 2002
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
More information about the Gcc-prs
mailing list