repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
C++: simplify output from suggest_alternatives_for
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
error1.C
blob
1f267e7b2544938f8c3b8232091087a16d5d01e0
1
// PR c++/17609
2
// Origin: <papadopo@shfj.cea.fr>
3
// { dg-do compile }
4
5
namespace N { int i; } // { dg-message "N::i" }
6
void foo() { i; } // { dg-error "'i' was not declared in this scope; did you mean 'N::i'\\?" }
7
8
using namespace N;
9
void bar() { i; }