This is the mail archive of the gcc-bugs@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]

[Bug c++/51328] [4.4/4.5/4.6/4.7 Regression] ICE on invalid template parameter


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51328

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-12-19 15:58:13 UTC ---
(In reply to comment #3)
> Thus I guess rejecting it earlier is fine, but we don't want to misled people
> by saying that 'typename T::~T' would be ok.

Agreed.  I would expect it to be straightforward to catch this at the point we
currently give the misleading message.


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