https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61537

--- Comment #9 from Adam Butcher <abutcher at gcc dot gnu.org> ---
Author: abutcher
Date: Thu Jun 26 18:33:57 2014
New Revision: 212045

URL: https://gcc.gnu.org/viewcvs?rev=212045&root=gcc&view=rev
Log:
Fix PR c++/61537

    * parser.c (cp_parser_elaborated_type_specifier): Only consider template
    parameter lists outside of function parameter scope.

    * g++.dg/template/pr61537.C: New testcase.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/template/pr61537.C
Modified:
    branches/gcc-4_9-branch/gcc/cp/ChangeLog
    branches/gcc-4_9-branch/gcc/cp/parser.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog

Reply via email to