[Bug c++/71834] [6/7 Regression] accepts invalid C++11 code with too few number of template arguments for class template

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 23 14:40:00 GMT 2018


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

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Mar 23 14:40:00 2018
New Revision: 258813

URL: https://gcc.gnu.org/viewcvs?rev=258813&root=gcc&view=rev
Log:
        PR c++/71834 - template-id with too few arguments.

        * pt.c (coerce_template_parms): Make sure we gave an error.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/variadic-nested3.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/pt.c


More information about the Gcc-bugs mailing list