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
gcc/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
overload2.C
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
}