re PR c++/14622 (type mismatch in explicit template instantiation not detected)
authorSimon Martin <simartin@users.sourceforge.net>
Mon, 12 Feb 2007 22:17:06 +0000 (22:17 +0000)
committerSimon Martin <simartin@gcc.gnu.org>
Mon, 12 Feb 2007 22:17:06 +0000 (22:17 +0000)
commit8ea6dfaef4e67c1a505b1d7760a4fbac5f57bc36
tree6eec4be017606e31d96f1ea0e5048763ddd6d267
parent0f7b6776a325fafa3244019a7b995ec9045573d0
re PR c++/14622 (type mismatch in explicit template instantiation not detected)

PR c++/14622
* pt.c (do_decl_instantiation): Detect type mismatches in explicit
instantiations for variables.

Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r121864
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/instantiate9.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/instantiate12.C