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
PR c++/6936
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
strong-using-1.C
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
}