OSDN Git Service

Fix PR c++/42069
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Nov 2009 09:58:20 +0000 (09:58 +0000)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Nov 2009 09:58:20 +0000 (09:58 +0000)
commit92d7a451bc1093930f14896b59bf02d61843d5b6
treedc000f12a9330d72c0ff8e57bc50e278b1fdcf94
parentb68acde5971b7395378c27317b490f16474ad979
Fix PR c++/42069

gcc/cp/ChangeLog:
PR c++/42069
* pt.c (convert_template_argument): Strip typedefs from SCOPE_REFs.

gcc/testsuite/ChangeLog:
PR c++/42069
* g++.dg/template/typedef23.C: New test.

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