OSDN Git Service

PR c++/31749
authoraaw <aaw@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Aug 2007 21:42:38 +0000 (21:42 +0000)
committeraaw <aaw@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Aug 2007 21:42:38 +0000 (21:42 +0000)
commit6952537624788ed18a003114770e86a13e4a3397
treea410ca7db354fe2d0df4c2e7bd1f54cb516b92c9
parent61b5da6f073dd5959e0119ad3f3fa5c6c8c41799
PR c++/31749

gcc/cp/
* name-lookup.c (do_nonmember_using_decl): Shift implicit type
declarations into appropriate slots for comparison.  Fix type
comparison.

gcc/testsuite/
* g++.dg/lookup/builtin3.C: New test.
* g++.dg/lookup/builtin4.C: New test.
* g++.dg/lookup/using19.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127600 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/builtin3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lookup/builtin4.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lookup/using19.C [new file with mode: 0644]