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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ns
/
overload2.C
blob
a6ea9439d085dea02eb77bc7db315519d388b4df
1
// { dg-do assemble }
2
namespace A{
3
void f(); // { dg-error "" } .*
4
}
5
6
using namespace A;
7
8
void f(); // { dg-error "" } .*
9
10
void g()
11
{
12
f(); // { dg-error "" } ambiguous, ::f or A::f ?
13
}