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
Rename Value_Range to value_range.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
overload2.C
blob
85df6bd694b4a898e92be8e119a60a997e7ee0e7
1
// { dg-do assemble }
2
namespace A{
3
void f(); // { dg-message "note" }
4
}
5
6
using namespace A;
7
8
void f(); // { dg-message "note" }
9
10
void g()
11
{
12
f(); // { dg-error "ambiguous" } ambiguous, ::f or A::f ?
13
}