http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54416
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2012-12-11 18:17:00 UTC --- Author: jason Date: Tue Dec 11 18:16:50 2012 New Revision: 194408 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194408 Log: PR c++/54416 * pt.c (maybe_process_partial_specialization): Don't accept definition of a specialization without the appropriate header. Added: trunk/gcc/testsuite/g++.dg/template/error48.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/g++.dg/template/crash105.C