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
/cp
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
overload
/
using3.C
blob
38344e48a9d25ad093f09ff54f842e769ea683a7
1
// { dg-do compile }
2
3
namespace a
4
{
5
void f(int);
6
}
7
8
namespace b
9
{
10
void f(int); // { dg-message "previous" }
11
void g()
12
{
13
f (3);
14
}
15
using a::f; // { dg-error "conflicts" }
16
}