* g++.dg/lookup/error1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104488
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
--- /dev/null
+// 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; }