PR c++/54416
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Dec 2012 18:16:50 +0000 (18:16 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Dec 2012 18:16:50 +0000 (18:16 +0000)
commitc76a0273e525cfe0ed421c99f1f6112585472193
tree71a6dc59ed886455276ee5e3753a8735a3efe6b3
parent20aa9b28fab3183cbe5343b6e1a176535c66c2df
PR c++/54416
* pt.c (maybe_process_partial_specialization): Don't accept
definition of a specialization without the appropriate header.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194408 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/crash105.C
gcc/testsuite/g++.dg/template/error48.C [new file with mode: 0644]