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
* MAINTAINERS: Add a note that maintainership also includes web
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
ambig4.C
blob
02e39b80f0cea246785aad3f7077fd4e5d82826a
1
// PR c++/20293
2
3
namespace hide { // { dg-message "hide" }
4
int k;
5
}
6
7
namespace {
8
int i;
9
namespace hide { // { dg-message "hide" }
10
int j;
11
}
12
}
13
14
void F(int) {}
15
16
int main() {
17
F(hide::j); // { dg-error "ambiguous" }
18
}