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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
ambig4.C
blob
1f3daa1e5e4442fd103f6e48a3da10e8eba4e15f
1
// PR c++/13377
2
// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3
// { dg-do compile }
4
5
namespace N
6
{
7
int i; // { dg-message "i" }
8
}
9
10
int i; // { dg-message "i" }
11
12
using namespace N;
13
14
void foo() { i; } // { dg-error "ambiguous" }