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
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inline-ns6.C
blob
aa0c5f9be1570222d1bf96d2fd6866e10139f9d6
1
// PR c++/13594 (secondary)
2
3
// { dg-options "" }
4
// { dg-do compile }
5
6
namespace fool {
7
inline namespace foo {
8
template <class T> void swap(T, T);
9
}
10
template <class T> void swap(T);
11
}
12
13
int main() {
14
// we used to fail to look up the associated namespace here
15
fool::swap(1, 1);
16
}