repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
using-10.C
blob
1ca8a783206149359e721aff346a5d1a3e79d3f3
1
// PR c++/13659
2
3
// { dg-do compile }
4
5
namespace foo1 {
6
template <class T> void f(T);
7
}
8
namespace foo2 {
9
template <class T> void f(T, T);
10
}
11
namespace foo {
12
using namespace foo1;
13
using namespace foo2;
14
}
15
16
// Make sure we bring in both declarations.
17
using foo::f;
18
19
int main() {
20
f(1);
21
f(1, 1);
22
}