[Bug c++/16582] Wrong diagnostic when using "&a[1]" as template argument

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Feb 26 19:46:00 GMT 2006



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-02-26 19:29 -------
the mainline gives:
t.cc:9: error: template argument 2 is invalid
t.cc:9: error: invalid type in declaration before ';' token

Which might be an ok enough error message.


-- 


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



More information about the Gcc-bugs mailing list