re PR c++/27933 (ICE with invalid "using")
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Mon, 12 Jun 2006 21:12:52 +0000 (21:12 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Mon, 12 Jun 2006 21:12:52 +0000 (21:12 +0000)
commitff8fe3e0add95082795509f0ecf2e4c25e0f9b99
treee3dc9822f82ad223f8b16f462284414c2dfe1da4
parent8bdb09cb0bdd321166269b928f4dcc39d3841c77
re PR c++/27933 (ICE with invalid "using")

PR c++/27933
* name-lookup.c (lookup_qualified_name): Always return error_mark_node
if lookup fails.

* g++.dg/lookup/using15.C: New test.

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