This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28641] [4.2 regression] ICE calling template function with invalid template parameter
- 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:07:11 -0000
- Subject: [Bug c++/28641] [4.2 regression] ICE calling template function with invalid template parameter
- References: <bug-28641-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from lmillward at gcc dot gnu dot org 2006-08-29 19:07 -------
This doesn't ICE for me with current mainline:
bug.cc:1: error: 'void' is not a valid type for a template constant parameter
void bar()
bug.cc:2: error: no matching function for call to 'foo()'
Can anyone else confirm this?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28641