PR c++/43281
commit55027cb553f54d42106fc3e1671bb6233cfdd90a
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Mar 2010 20:38:46 +0000 (22 20:38 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Mar 2010 20:38:46 +0000 (22 20:38 +0000)
treeee4ab205725aa66f805cec5416356d4084a65c7d
parent2c69eb5f93355eb8356e8865977cd70f35a0aebd
PR c++/43281
* pt.c (contains_auto_r): New fn.
(do_auto_deduction): Use it.
(tsubst): Don't look at TREE_TYPE of a TEMPLATE_TYPE_PARM.

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