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++/28641] [4.2 regression] ICE calling template function with invalid template parameter



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


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