re PR c++/46206 (using typedef-name error with typedef name hiding struct name)
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 7 Aug 2013 10:10:27 +0000 (10:10 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 7 Aug 2013 10:10:27 +0000 (10:10 +0000)
commitdd81965b766c8465c2eec3ae4563f0076a899f8d
treeacd7e4cba3fe1b5cfcd2ce64ea2edb289f5d3427
parent2077db1be5b18b94a91095a3fb380bbc4a81e61b
re PR c++/46206 (using typedef-name error with typedef name hiding struct name)

/cp
2013-08-07  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/46206
* name-lookup.c (lookup_name_real_1): Handle iter->type before
iter->value.

/testsuite
2013-08-07  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/46206
* g++.dg/lookup/typedef2.C: New.

From-SVN: r201558
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/typedef2.C [new file with mode: 0644]