re PR c++/36435 (Partial ordering of explicit specialization should include return...
authorJason Merrill <jason@redhat.com>
Thu, 23 Jun 2011 16:52:32 +0000 (12:52 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 23 Jun 2011 16:52:32 +0000 (12:52 -0400)
commitd708df29c844a491bcb9ec44a839b0c9b0b2010f
tree62aa957ffeae7c874647d5934947f5e19ee1d610
parentfebb13025bec2b2a50c21e23e5b955cc31027c9d
re PR c++/36435 (Partial ordering of explicit specialization should include return type)

PR c++/36435
* pt.c (most_specialized_instantiation): Do check return types.

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