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++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
using20.C
blob
f1be41fea95e0b0a0ca53668c3213738d5456179
1
// PR c++/40476
2
3
namespace A
4
{
5
int i; // { dg-message "i" }
6
}
7
using namespace A;
8
namespace B
9
{
10
namespace B2
11
{
12
int i; // { dg-message "i" }
13
}
14
using namespace B2;
15
}
16
using namespace B;
17
18
int j = ::i; // { dg-error "ambiguous" }