OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2012-04-15 Fabien ChĂȘne <fabien@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
error1.C
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; }