mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-30 07:14:09 +08:00
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:
parent
82798eaeee
commit
2892604623
@ -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
|
||||
|
9
gcc/testsuite/g++.dg/lookup/error1.C
Normal file
9
gcc/testsuite/g++.dg/lookup/error1.C
Normal 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; }
|
Loading…
Reference in New Issue
Block a user