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
/cp
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
using-10.C
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
}