re PR c++/21784 (Using vs builtin names)
authorMark Mitchell <mark@codesourcery.com>
Mon, 30 May 2005 16:20:29 +0000 (16:20 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 30 May 2005 16:20:29 +0000 (16:20 +0000)
commitd035c29621111dc216939c9a59ce612ff9c360d6
tree34c66f3acb0861f9975d593fef0186158dbba67f
parent2a2ea376740f560a57da8b03a179928c7d29c3d4
re PR c++/21784 (Using vs builtin names)

PR c++/21784
* name-lookup.c (do_nonmember_using_decl): Ignore builtin
functions, even when the used name is not a function.

PR c++/21784
* g++.dg/lookup/using14.C: New test.

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