This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28742] [4.2 regression] ICE with virtual destructor in invalid template class
- From: "lmillward at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Aug 2006 19:11:13 -0000
- Subject: [Bug c++/28742] [4.2 regression] ICE with virtual destructor in invalid template class
- References: <bug-28742-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from lmillward at gcc dot gnu dot org 2006-08-29 19:11 -------
This doesn't ICE for me on current mainline:
bug.cc:1: error: 'void' is not a valid type for a template constant parameter
bug.cc:3: error: templates may not be 'virtual'
bug.cc:7: error: '<type error>' is not a valid type for a template constant
parameter
bug.cc:7: error: invalid type in declaration before ';' token
Can anyone confirm that the testcase still ICE's for them?
--
lmillward at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lmillward at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28742