re PR c++/17609 (spurious error message after using keyword)

PR c++/17609
	* g++.dg/lookup/error1.C: New test.

From-SVN: r104488
This commit is contained in:
Volker Reichelt 2005-09-21 15:21:00 +00:00 committed by Volker Reichelt
parent 82798eaeee
commit 2892604623
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-09-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR c++/17609
* g++.dg/lookup/error1.C: New test.
2005-09-21 Dorit Nuzman <dorit@il.ibm.com>
* gcc.dg/vect/vect-dv-2.c: Change loop bound and restore original

View File

@ -0,0 +1,9 @@
// PR c++/17609
// Origin: <papadopo@shfj.cea.fr>
// { dg-do compile }
namespace N { int i; }
void foo() { i; } // { dg-error "not declared" }
using namespace N;
void bar() { i; }