OSDN Git Service

Fix PR c++/42218
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Dec 2009 07:38:42 +0000 (07:38 +0000)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Dec 2009 07:38:42 +0000 (07:38 +0000)
commite35e9f2243be6de213ece07402af71c4bd1dffbb
tree75b21d5a96abd27bb388e686e588c3820174b75b
parentd276ba57ea0419f2bdec7d9b6681b8bbd836cd5e
Fix PR c++/42218

gcc/cp/ChangeLog:
PR c++/42218
* cxx-pretty-print.c (pp_cxx_unqualified_id): Print only innermost
template arguments.

gcc/testsuite/ChangeLog:
PR c++/42218
* g++.dg/other/error33.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154972 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cxx-pretty-print.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/error33.C [new file with mode: 0644]