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
Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
error1.C
blob
3eb4b97213277ddec30366df916575b6996d487c
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 "not declared" }
7
// { dg-message "suggested alternative" "suggested alternative" { target *-*-* } 6 }
8
9
using namespace N;
10
void bar() { i; }