c++/2861: Parser crashes while parsing a call a template function using the template keyword
neroden@gcc.gnu.org
neroden@gcc.gnu.org
Wed Jan 1 13:38:00 GMT 2003
Synopsis: Parser crashes while parsing a call a template function using the template keyword
State-Changed-From-To: analyzed->closed
State-Changed-By: neroden
State-Changed-When: Wed Jan 1 05:38:43 2003
State-Changed-Why:
As of 2003-01-01, mainline gives for the original:
test.cxx: In function `int main()':
test.cxx:11: error: `template' (as a disambiguator) is only allowed within
templates
Which is correct.
Mainline compiles the revised testcase successfully.
Chalk another fix up to the new parser.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2861
More information about the Gcc-bugs
mailing list