re PR c++/15862 ('enum yn' fails)
authorMark Mitchell <mark@codesourcery.com>
Fri, 11 Jun 2004 18:14:52 +0000 (18:14 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 11 Jun 2004 18:14:52 +0000 (18:14 +0000)
commitba18e4dbfc7e018c9b313cfc3fea93592880bc41
tree3a88e5e64afa9c690c328f36beb93348389ef616
parente6ff425c0064f00c28315bdfa2624f556af17a2e
re PR c++/15862 ('enum yn' fails)

PR c++/15862
* name-lookup.c (unqualified_namespace_lookup): Do not ignore type
bindings for undeclared built-ins.

PR c++/15862
* g++.dg/parse/enum1.C: New test.

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