re PR c++/40405 (ICE with invalid initialization of template member)
authorJason Merrill <jason@redhat.com>
Fri, 22 Feb 2013 22:24:40 +0000 (17:24 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 22 Feb 2013 22:24:40 +0000 (17:24 -0500)
commit5c505cbacf8a90db83e3727ad6a1cb7f52b82dae
treed359cdf5c03ea0e537a1eadf6aa31f904bf5e276
parent82a1326b09d144a886124770e405a807f27ad4e8
re PR c++/40405 (ICE with invalid initialization of template member)

PR c++/40405
* pt.c (push_template_decl_real): Set DECL_INTERFACE_KNOWN
if we got the wrong number of template parms.

From-SVN: r196231
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/error49.C [new file with mode: 0644]