repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inline-ns8.C
blob
7679c6f1dc7be99b069f70deb23f1b1f2a87614c
1
// PR c++/13659
2
3
// { dg-options "" }
4
// { dg-do compile }
5
6
namespace bar {
7
inline namespace foo {
8
template <class T> void f(T, T);
9
}
10
template <class T> void f(T);
11
}
12
13
int main() {
14
// Make sure both declarations are brought in.
15
using bar::f;
16
f(1);
17
f(1, 1);
18
}