[Bug c++/28641] [4.2 regression] ICE calling template function with invalid template parameter

lmillward at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 29 19:07:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list